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 have an API that has classes and inner classes that i should be binding to lua mirroring the c++ one.
It seems like basic_usertype don't forward base_t::new_enum and base_t::new_usertype so it is not possible to register inner enums and inner classes.
structouter
{
structinner
{
};
};
auto outer_class = lua.new_usertype<outer>("outer");
auto inner_class = outer_class.new_usertype<inner>("inner");
Seems quite limiting not being able to do this.
The text was updated successfully, but these errors were encountered:
I have an API that has classes and inner classes that i should be binding to lua mirroring the c++ one.
It seems like basic_usertype don't forward
base_t::new_enum
andbase_t::new_usertype
so it is not possible to register inner enums and inner classes.Seems quite limiting not being able to do this.
The text was updated successfully, but these errors were encountered: