aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-06 18:12:33 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-06 18:12:33 +0000
commit2f55351fca3143ed85ac9ebaa4590c5053ff014c (patch)
tree2aeddd89a781a663a456d25a69d84bb5d6d869e3 /src/lua/lua_common.h
parentf037213749e6c3d2bf35318b100c5e4767cc69f8 (diff)
downloadrspamd-2f55351fca3143ed85ac9ebaa4590c5053ff014c.tar.gz
rspamd-2f55351fca3143ed85ac9ebaa4590c5053ff014c.zip
[Rework] Move maps code to a separate lua unit
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index 8629d6366..d39f42793 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -43,6 +43,8 @@ luaL_register (lua_State *L, const gchar *name, const struct luaL_reg *methods)
/* Interface definitions */
#define LUA_FUNCTION_DEF(class, name) static gint lua_ ## class ## _ ## name ( \
lua_State * L)
+#define LUA_PUBLIC_FUNCTION_DEF(class, name) gint lua_ ## class ## _ ## name ( \
+ lua_State * L)
#define LUA_INTERFACE_DEF(class, name) { # name, lua_ ## class ## _ ## name }
extern const luaL_reg null_reg[];
@@ -80,7 +82,6 @@ struct rspamd_lua_regexp {
gint re_flags;
};
-
/* Common utility functions */
/**