summaryrefslogtreecommitdiffstats
path: root/ahl-binding
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-07-03 18:59:11 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2018-07-10 18:13:24 +0200
commit7275efd56abe3bc02b6f630dc18b415916e7f030 (patch)
treecc77edfa0ad4a50df50b76c264f43d302ca29295 /ahl-binding
parent1a525b0c4bb28e46f8960a86ab19a9a75e132f67 (diff)
No longer sets the API version in code
This is done in config.cmake Change-Id: Icf36d61a5127689e55e11125cbe60b72b939bb1a Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh> Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'ahl-binding')
-rw-r--r--ahl-binding/afb-binding-common.h2
-rw-r--r--ahl-binding/ahl-binding.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/ahl-binding/afb-binding-common.h b/ahl-binding/afb-binding-common.h
index 61118db..71ea2ae 100644
--- a/ahl-binding/afb-binding-common.h
+++ b/ahl-binding/afb-binding-common.h
@@ -21,8 +21,6 @@
extern "C" {
#endif
-#define AFB_BINDING_VERSION 0
-#define AFB_BINDING_WANT_DYNAPI
#include <afb/afb-binding.h>
#include <string.h>
#include <ctl-config.h>
diff --git a/ahl-binding/ahl-binding.cpp b/ahl-binding/ahl-binding.cpp
index 29be7a1..6247371 100644
--- a/ahl-binding/ahl-binding.cpp
+++ b/ahl-binding/ahl-binding.cpp
@@ -35,7 +35,7 @@ int ahl_api_create(void*, struct afb_dynapi* handle)
* @param[in] handle Handle to start with for API creation.
* @return Status code, zero if success.
*/
-int afbBindingVdyn(afb_dynapi* handle)
+int afbBindingEntry(afb_dynapi* handle)
{
using namespace std::placeholders;
assert(handle != nullptr);