I'm working with MAME (I have to go through the Lua interface) and I want to make my life a little bit easier when working with MAME values. What's the proper way to represent them?
[MAME]> print(manager)
sol.mame_machine_manager*: 000001f553eba408
[MAME]> print(type(manager))
userdata
Is it with AnyUserData?
#[repr(transparent)]
pub struct MameMachineManager(LuaAnyUserData);
I'm working with MAME (I have to go through the Lua interface) and I want to make my life a little bit easier when working with MAME values. What's the proper way to represent them?
Is it with
AnyUserData?