diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-11 14:23:47 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-11 14:23:47 +0000 |
commit | 2b79540f2a2110d8be9969418acc70c25a8938a1 (patch) | |
tree | 85233e5a1d3a62a497937a55884d74c844690a97 /lualib/lua_ffi/init.lua | |
parent | ea07b601a62c68334e27a93c7b35e47e7fd16001 (diff) | |
download | rspamd-2b79540f2a2110d8be9969418acc70c25a8938a1.tar.gz rspamd-2b79540f2a2110d8be9969418acc70c25a8938a1.zip |
[Project] Fix lua_ffi definitions
Diffstat (limited to 'lualib/lua_ffi/init.lua')
-rw-r--r-- | lualib/lua_ffi/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lualib/lua_ffi/init.lua b/lualib/lua_ffi/init.lua index 657bad370..d2cbd95aa 100644 --- a/lualib/lua_ffi/init.lua +++ b/lualib/lua_ffi/init.lua @@ -24,7 +24,7 @@ local ffi local exports = {} if type(jit) == 'table' then - ffi = require "jit" + ffi = require "ffi" local NULL = ffi.new 'void*' exports.is_null = function(o) @@ -46,6 +46,7 @@ else end end +exports.common = require "lua_ffi/common" exports.dkim = require "lua_ffi/dkim" return exports
\ No newline at end of file |