aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.lua
diff options
context:
space:
mode:
authorBenoit Germain <bnt period germain arrobase gmail period com>2017-05-10 17:10:29 +0200
committerBenoit Germain <bnt period germain arrobase gmail period com>2017-05-10 17:10:29 +0200
commite5f454b3cee91f79f4f107b68a4708addc0a914a (patch)
treee8d3c53937659b2f615870b9294a0d5e0dfa7a30 /src/lanes.lua
parent0a064da8d02d0863463583e4f693462ef7725c2f (diff)
downloadlanes-e5f454b3cee91f79f4f107b68a4708addc0a914a.tar.gz
lanes-e5f454b3cee91f79f4f107b68a4708addc0a914a.tar.bz2
lanes-e5f454b3cee91f79f4f107b68a4708addc0a914a.zip
Improve LuaJIT support
* better LuaJIT-specific headers detection * add LuaJIT-specific libraries when known * properly raise an error when attempting to transfer a LUAT_CDATA value * some compilationg warning fixes
Diffstat (limited to 'src/lanes.lua')
-rw-r--r--src/lanes.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lanes.lua b/src/lanes.lua
index 6cbbd65..affbd7d 100644
--- a/src/lanes.lua
+++ b/src/lanes.lua
@@ -220,6 +220,9 @@ lanes.configure = function( settings_)
220 ["debug"] = true, 220 ["debug"] = true,
221 ["bit32"] = true, -- Lua 5.2 only, ignored silently under 5.1 221 ["bit32"] = true, -- Lua 5.2 only, ignored silently under 5.1
222 ["utf8"] = true, -- Lua 5.3 only, ignored silently under 5.1 and 5.2 222 ["utf8"] = true, -- Lua 5.3 only, ignored silently under 5.1 and 5.2
223 ["bit"] = true, -- LuaJIT only, ignored silently under PUC-Lua
224 ["jit"] = true, -- LuaJIT only, ignored silently under PUC-Lua
225 ["ffi"] = true, -- LuaJIT only, ignored silently under PUC-Lua
223 -- 226 --
224 ["base"] = true, 227 ["base"] = true,
225 ["coroutine"] = true, -- part of "base" in Lua 5.1 228 ["coroutine"] = true, -- part of "base" in Lua 5.1