From cf1917f00d28381023d2e30f767adc5872b21084 Mon Sep 17 00:00:00 2001 From: Loïc Collignon Date: Wed, 2 Jan 2019 17:44:27 +0100 Subject: c++: New C++ API for bindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/afb/afb-binding | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/afb/afb-binding') 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" -- cgit 1.2.3-korg