diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-14 12:15:55 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-14 12:15:55 +0100 |
commit | 8f4a6729d18ba775fdb7861ef0239f312d705f4a (patch) | |
tree | 30374b87f41d0dce8a111b7bd3c16ceb3a8a2253 /src/lua | |
parent | 5ab7613c28aeda1c398a9dad447d0e5b5dedb8fe (diff) | |
download | rspamd-8f4a6729d18ba775fdb7861ef0239f312d705f4a.tar.gz rspamd-8f4a6729d18ba775fdb7861ef0239f312d705f4a.zip |
[Rework] Use more c++ in cfg_utils
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index bf887e301..32b61dcf8 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -97,7 +97,7 @@ static inline int lua_absindex(lua_State *L, int i) extern const luaL_reg null_reg[]; -#define RSPAMD_LUA_API_VERSION 12 +#define RSPAMD_LUA_CFG_STATE(cfg) ((lua_State *) ((cfg)->lua_state)) /** * Lua IP address structure */ |