diff options
author | 2019-01-21 10:40:50 +0100 | |
---|---|---|
committer | 2019-01-21 10:40:50 +0100 | |
commit | 23247259d858524c238b682bf2e796a4c32224c2 (patch) | |
tree | 57bc2f9c3e9612df58a61518742b62b38cf393d7 /include | |
parent | 9f0f5342301df1fa03414b7547cad320ff530e02 (diff) |
Make the object inherits the 'raw' class
Base the 'object' api on the newly added api wrapper.
Change-Id: I8370552688bed19265427213fc1cc2f5660aada3
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'include')
-rw-r--r-- | include/afb/c++/binding-object.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/afb/c++/binding-object.hpp b/include/afb/c++/binding-object.hpp index 65341362..307189b9 100644 --- a/include/afb/c++/binding-object.hpp +++ b/include/afb/c++/binding-object.hpp @@ -17,9 +17,7 @@ * limitations under the License. */ -extern "C" { -#include <afb/afb-binding.h> -} +#include <afb/c++/binding-wrap.hpp> #include <cassert> #include <string> @@ -201,6 +199,7 @@ namespace afb typename TTraits = ApiTraits<TApi> > class base_api_t + : public api { friend TTraits; |