pub fn luaL_newmetatable_type(
l: LuaState,
tname: LuaString,
tid: c_int,
) -> c_intExpand description
Creates a metatable with type and typeid Same as luaL_newmetatable, but also sets the MetaName and MetaID fields of the metatable
ยงParameters
l- LuaStatetname- TypeName to be added to the metatabletid- TypeID to be applied to the metatable