diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-10-02 15:37:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-10-02 15:37:56 +0100 |
commit | f2d1109c8f7a450febae4d160b23bdd8f2a27465 (patch) | |
tree | 277e53af859eaf360c5227babbd9c3bdbdeb0a8c /src/lua/lua_common.h | |
parent | 33d45e26503db6e1a770e982e31f87ae31854ba7 (diff) | |
download | rspamd-f2d1109c8f7a450febae4d160b23bdd8f2a27465.tar.gz rspamd-f2d1109c8f7a450febae4d160b23bdd8f2a27465.zip |
Add preliminary implementation of lua to rcl converter.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index c83433d81..7416297f7 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -110,6 +110,13 @@ void free_lua_locked (struct lua_locked_state *st); gint lua_rcl_obj_push (lua_State *L, rspamd_cl_object_t *obj); /** + * Extract rcl object from lua object + * @param L + * @return + */ +rspamd_cl_object_t * lua_rcl_obj_get (lua_State *L); + +/** * Open libraries functions */ gint luaopen_message (lua_State *L); |