MCPcopy Create free account
hub / github.com/DFHack/dfhack / build_metatable

Method build_metatable

library/LuaTypes.cpp:1702–1705  ·  view source on GitHub ↗

* Metatable construction identity methods. */

Source from the content-addressed store, hash-verified

1700 * Metatable construction identity methods.
1701 */
1702void type_identity::build_metatable(lua_State *state) const
1703{
1704 MakePrimitiveMetatable(state, this);
1705}
1706
1707void container_identity::build_metatable(lua_State *state) const
1708{

Callers 1

BuildTypeMetatableFunction · 0.80

Calls 10

MakePrimitiveMetatableFunction · 0.85
MakeContainerMetatableFunction · 0.85
getItemTypeFunction · 0.85
getIndexEnumTypeFunction · 0.85
lua_gettopFunction · 0.85
MakeFieldMetatableFunction · 0.85
LookupInTableFunction · 0.85
lua_setfieldFunction · 0.85
lua_getfieldFunction · 0.85
lua_rawsetiFunction · 0.85

Tested by

no test coverage detected