You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also tried setting sol::function instead of sol::function&,
This means that you have a temporary argument sol::function inFunction and then you capture that temporary argument by reference in the next lambda (inWindow.SetDrawCallBack).
This is inside a new_usertype
but it isn't working. I also tried setting sol::function instead of sol::function&, it compiled but gave runtime error in lua_gettop() function.
The text was updated successfully, but these errors were encountered: