diff options
-rw-r--r-- | ahl-binding/afb-binding-common.h | 2 | ||||
-rw-r--r-- | ahl-binding/ahl-binding.cpp | 2 | ||||
-rw-r--r-- | conf.d/cmake/config.cmake | 2 |
3 files changed, 3 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); diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index 02671cc..00b8141 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -99,6 +99,8 @@ set(COMPILE_OPTIONS -DCONTROL_PLUGIN_PATH="${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/plugins/lib:${CMAKE_BINARY_DIR}/package/lib/plugins:/var/local/lib/afm/applications/${PROJECT_NAME}/${PROJECT_VERSION}/lib/plugins" -DCONTROL_LUA_PATH="${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/plugins/lua:${CMAKE_BINARY_DIR}/package/data:/var/local/lib/afm/applications/${PROJECT_NAME}/${PROJECT_VERSION}/var" -DUSE_API_DYN=1 +-DAFB_BINDING_VERSION=3 +-DAFB_BINDING_WANT_DYNAPI=1 CACHE STRING "Compilation flags") #set(C_COMPILE_OPTIONS "" CACHE STRING "Compilation flags for C language.") #set(CXX_COMPILE_OPTIONS "" CACHE STRING "Compilation flags for C++ language.") |