aboutsummaryrefslogtreecommitdiffstats
path: root/include/afb/afb-binding
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2019-01-02 17:44:27 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2019-03-11 13:31:40 +0100
commitcf1917f00d28381023d2e30f767adc5872b21084 (patch)
tree91e234c34ebee6a4279b3df8e247e0ae20ef2f10 /include/afb/afb-binding
parent5425e054fbf87fe6d024103f46e53f2a28e074f2 (diff)
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>
Diffstat (limited to 'include/afb/afb-binding')
-rw-r--r--include/afb/afb-binding3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/afb/afb-binding b/include/afb/afb-binding
index 96d2ec9c..a961a408 100644
--- a/include/afb/afb-binding
+++ b/include/afb/afb-binding
@@ -15,5 +15,6 @@
* limitations under the License.
*/
#pragma once
-#include "afb-binding.hpp"
+#include "c++/binding-wrap.hpp"
+#include "c++/binding-object.hpp"