aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_map.h')
-rw-r--r--src/lua/lua_map.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lua/lua_map.h b/src/lua/lua_map.h
index a44bd12e9..7b18df7a5 100644
--- a/src/lua/lua_map.h
+++ b/src/lua/lua_map.h
@@ -18,6 +18,10 @@
#include "lua_common.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
LUA_PUBLIC_FUNCTION_DEF (config, add_radix_map);
LUA_PUBLIC_FUNCTION_DEF (config, radix_from_config);
LUA_PUBLIC_FUNCTION_DEF (config, radix_from_ucl);
@@ -27,4 +31,8 @@ LUA_PUBLIC_FUNCTION_DEF (config, add_kv_map);
LUA_PUBLIC_FUNCTION_DEF (config, add_map);
LUA_PUBLIC_FUNCTION_DEF (config, get_maps);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* SRC_LUA_LUA_MAP_H_ */