Added changes to seamlessly use LuaJIT (default) or the standard (non JIT) Lua

This commit is contained in:
Luca Deri 2018-06-12 23:05:30 +02:00
parent 3cf623901c
commit 203404df5b
9 changed files with 24 additions and 25 deletions

View file

@ -65,7 +65,7 @@ local function getBatchedIterator(batched_function, field, function_params)
end
-- Assumption: nextSlot is always the first parameter
local slot = batched_function(nextSlot, unpack(function_params))
local slot = batched_function(nextSlot, table.unpack(function_params))
if slot == nil then
iterator_finished = true