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
hi,
i have meet a problem with binding class to lua.
when there is a member function has same name with another static member function, compiler will get error, when using addFunction to binding them.
for example: https://github.com/elnormous/ouzel/blob/master/ouzel/math/Vector2.hpp
Vector2 has two function with same name "add"
can anyone tell me how to solve this problem.
thanks.
The text was updated successfully, but these errors were encountered:
Solution explained in elnormous/ouzel#24 but it wouldn't hurt updating the example to demonstrate overload with function that is actually overloaded instead of overload1 and overload2.
hi,
i have meet a problem with binding class to lua.
when there is a member function has same name with another static member function, compiler will get error, when using addFunction to binding them.
for example: https://github.com/elnormous/ouzel/blob/master/ouzel/math/Vector2.hpp
Vector2 has two function with same name "add"
can anyone tell me how to solve this problem.
thanks.
The text was updated successfully, but these errors were encountered: