Make the object inherits the 'raw' class
authorLoïc Collignon <loic.collignon@iot.bzh>
Mon, 21 Jan 2019 09:40:50 +0000 (10:40 +0100)
committerLoïc Collignon <loic.collignon@iot.bzh>
Mon, 21 Jan 2019 09:40:50 +0000 (10:40 +0100)
Base the 'object' api on the newly added api wrapper.

Change-Id: I8370552688bed19265427213fc1cc2f5660aada3
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
include/afb/c++/binding-object.hpp

index 6534136..307189b 100644 (file)
@@ -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;