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

Function BuildTypeMetatable

library/LuaWrapper.cpp:1323–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1321}
1322
1323static void BuildTypeMetatable(lua_State *state, const type_identity *type)
1324{
1325 type->build_metatable(state);
1326
1327 lua_pop(state, 1);
1328
1329 SaveTypeInfo(state, const_cast<type_identity*>(type));
1330}
1331
1332/*
1333 * Recursive walk of scopes to construct the df... tree.

Callers 2

push_object_internalMethod · 0.85
RenderTypeFunction · 0.85

Calls 1

build_metatableMethod · 0.80

Tested by

no test coverage detected