diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-08 15:22:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-08 15:22:05 +0100 |
commit | c271eb36656a4ff88a9c8c1d59934949260275a3 (patch) | |
tree | 3dd586e38b5b37cfebc7c12b6ff6f434904167c7 /src/lua/lua_map.h | |
parent | b266445f47dec06392a7e058f499325fa3c052b9 (diff) | |
download | rspamd-c271eb36656a4ff88a9c8c1d59934949260275a3.tar.gz rspamd-c271eb36656a4ff88a9c8c1d59934949260275a3.zip |
[Rework] Add C++ guards to all headers
Diffstat (limited to 'src/lua/lua_map.h')
-rw-r--r-- | src/lua/lua_map.h | 8 |
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_ */ |