fix effil.lua (#75)
This commit is contained in:
parent
4784647e70
commit
0ce3c31eec
@ -41,7 +41,7 @@ end
|
|||||||
-- __call - run thread, can be invoked multiple times
|
-- __call - run thread, can be invoked multiple times
|
||||||
api.thread = function (f)
|
api.thread = function (f)
|
||||||
if type(f) ~= "function" then
|
if type(f) ~= "function" then
|
||||||
error("bad argument #1 to 'effil.thread' (function expected, got " .. effil.type(f) .. ")")
|
error("bad argument #1 to 'effil.thread' (function expected, got " .. capi.type(f) .. ")")
|
||||||
end
|
end
|
||||||
|
|
||||||
local thread_config = {
|
local thread_config = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user