aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-17 16:34:20 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-17 16:34:20 +0000
commit6d65818ca24f83e6b606cd291b3fe17e288f2b07 (patch)
tree5bee5f18c371aeb8eca76c040755bb8645406108 /src/lua/lua_common.h
parent45c172ad0af49d2c73ddc3fcd2111718c6a8b19d (diff)
downloadrspamd-6d65818ca24f83e6b606cd291b3fe17e288f2b07.tar.gz
rspamd-6d65818ca24f83e6b606cd291b3fe17e288f2b07.zip
Allow to check mempool on any position in the stack.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index ce817d1e1..1f3ea5922 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -230,7 +230,7 @@ void rspamd_lua_dumpstack (lua_State *L);
/* Set lua path according to the configuration */
void rspamd_lua_set_path (lua_State *L, struct rspamd_config *cfg);
-struct memory_pool_s * rspamd_lua_check_mempool (lua_State * L);
+struct memory_pool_s * rspamd_lua_check_mempool (lua_State * L, gint pos);
#endif /* WITH_LUA */