aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-05 14:44:08 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-05 14:44:08 +0000
commite5849e1339fa467c8f411643f509a3ae9ebb33c6 (patch)
tree350990b976aff5b0f5c77b349119bd28b942b400 /src/lua/lua_common.c
parente242903967917614509a7eca05c4d6d9988f4a83 (diff)
downloadrspamd-e5849e1339fa467c8f411643f509a3ae9ebb33c6.tar.gz
rspamd-e5849e1339fa467c8f411643f509a3ae9ebb33c6.zip
[Feature] Rework and abstract lua maps API
- Now all maps share the same lua object table. - Remove bad destructions code since objects are reallocated during maps operations - Fix and unify various parts of maps management - Pass map object to lua callbacks
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r--src/lua/lua_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index 960d3457d..1d78aa73f 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -211,8 +211,7 @@ rspamd_lua_init ()
luaopen_logger (L);
luaopen_mempool (L);
luaopen_config (L);
- luaopen_radix (L);
- luaopen_hash_table (L);
+ luaopen_map (L);
luaopen_trie (L);
luaopen_task (L);
luaopen_textpart (L);