c++: New C++ API for bindings 29/20529/1
authorLoïc Collignon <loic.collignon@iot.bzh>
Wed, 2 Jan 2019 16:44:27 +0000 (17:44 +0100)
committerLoïc Collignon <loic.collignon@iot.bzh>
Mon, 11 Mar 2019 12:31:40 +0000 (13:31 +0100)
commitcf1917f00d28381023d2e30f767adc5872b21084
tree91e234c34ebee6a4279b3df8e247e0ae20ef2f10
parent5425e054fbf87fe6d024103f46e53f2a28e074f2
c++: New C++ API for bindings

You can implement a C++ binding API by inheriting
the templated base class 'base_api_t' and overriding
the methods you want.

At the same time, the c++ files are now located in
in their own subdirectory: afb/c++

Change-Id: Ie02535961ec6b4b5ae21390cb520acb1fdc44c9e
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
include/afb/afb-binding
include/afb/c++/binding [new file with mode: 0644]
include/afb/c++/binding-object.hpp [new file with mode: 0644]
include/afb/c++/binding-wrap.hpp [moved from include/afb/afb-binding.hpp with 100% similarity]