Replies: 1 comment 1 reply
|
I'm not a super fan of these globals (you can use You can still store LuaRef as universal class for callbacks and when you invoke it you will have to pass arguments and handle return values right ? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Like in sol2 with
sol::protected_function::set_default_handler(...). This would get rid of silent failures when calling viaLuaRef::operator()orLuaRef::call. It would also be nice to have a separate universal class for functions (without a signature). This would make it easier to store and use callbacksAll reactions