Closed ehrhart closed 10 years ago
Hmm, just a guess StaticInvoke is getting passed to it, even though it shouldn't be. I'll take a look at it "soon".
For kicks, what happens if you call it like so: StaticInvoke:luaCallback(callback);
?
Thanks for your reply Tomasu.
Same thing happens if I call StaticInvoke:luaCallback(callback);
Hello, I have a class with a static function used to register a lua callback.
When I call luaCallback it prints an error: "LuaGlueLuaFuncRef expected a function, got a table"
Is there any way to make it work?
Thanks
main.cpp:
static_invoke.lua:
Error: