vararg pass
This commit is contained in:
parent
a6a91934bf
commit
a82267e967
@ -10,7 +10,8 @@ mtt.register("load_module", function(callback)
|
||||
callback()
|
||||
end)
|
||||
|
||||
local mod = mtscad.load_module("load_module")
|
||||
local mod, other_val = mtscad.load_module("load_module")
|
||||
assert(other_val and other_val.success)
|
||||
mod(ctx)
|
||||
|
||||
-- process async jobs
|
||||
|
@ -3,4 +3,4 @@ local mylib = mtscad.load_module("lib/mylib")
|
||||
|
||||
return function(ctx)
|
||||
ctx:execute(mylib)
|
||||
end
|
||||
end, {success=true}
|
Loading…
x
Reference in New Issue
Block a user