Added a tutorial and fix few errors sandbox/ctxnop/binding-object
authorLoïc Collignon <loic.collignon@iot.bzh>
Wed, 27 Feb 2019 16:44:37 +0000 (17:44 +0100)
committerLoïc Collignon <loic.collignon@iot.bzh>
Wed, 27 Feb 2019 16:54:26 +0000 (17:54 +0100)
commit8c588d04fcb72c2a9b298f73f7085a1bed46fa40
treea591065da4cb9f12239c88a3cb1abbb8a34e3258
parent9271575a7dd2b783eda8bcc7f06479ee20abbd99
Added a tutorial and fix few errors

Added the tuto-5 that show how to benefit from the new 'binding-object'
header. Fix few errors that can cause segfault when dealing with events
and use the right afb::req object for verbs.

Change-Id: I0563dd72a2843b2b54c2e40398ba129aac05ff0c
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
bindings/tutorial/CMakeLists.txt
bindings/tutorial/tuto-5.cpp [new file with mode: 0644]
include/afb/c++/binding-object.hpp
include/afb/c++/binding-wrap.hpp