diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-16 13:10:42 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-16 13:10:42 +0100 |
commit | 5ef148649daca54714bd141bd473072250b46d83 (patch) | |
tree | 658841acc4d3a4cd208af3fc31449749c64e761f /src/lua/lua_common.h | |
parent | 35818aec2c5f6e70423fa2954fc9a344b5fe56f0 (diff) | |
download | rspamd-5ef148649daca54714bd141bd473072250b46d83.tar.gz rspamd-5ef148649daca54714bd141bd473072250b46d83.zip |
[Rework] Lua core: Use lightuserdata to index classes
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index 265775835..9878cc521 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -155,15 +155,6 @@ void rspamd_lua_new_class (lua_State *L, const struct luaL_reg *methods); /** - * Create and register new class with static methods - */ -void rspamd_lua_new_class_full (lua_State *L, - const gchar *classname, - const gchar *static_name, - const struct luaL_reg *methods, - const struct luaL_reg *func); - -/** * Set class name for object at @param objidx position */ void rspamd_lua_setclass (lua_State *L, const gchar *classname, gint objidx); |