MCPcopy Create free account
hub / github.com/defold/defold / PushNodeToTable

Function PushNodeToTable

engine/gui/src/gui_script.cpp:3976–3983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3974 static void PushNodeListToTable(lua_State* L, dmGui::HScene scene, uint16_t start_index);
3975
3976 static void PushNodeToTable(lua_State* L, dmGui::HScene scene, InternalNode* n)
3977 {
3978 dmGui::HNode node = GetNodeHandle(n);
3979 dmScript::PushHash(L, n->m_NameHash);
3980 LuaPushNode(L, scene, node);
3981 lua_rawset(L, -3);
3982 PushNodeListToTable(L, scene, n->m_ChildHead);
3983 }
3984
3985 static void PushNodeListToTable(lua_State* L, dmGui::HScene scene, uint16_t start_index)
3986 {

Callers 2

PushNodeListToTableFunction · 0.85
LuaGetTreeFunction · 0.85

Calls 5

PushHashFunction · 0.85
LuaPushNodeFunction · 0.85
lua_rawsetFunction · 0.85
PushNodeListToTableFunction · 0.85
GetNodeHandleFunction · 0.70

Tested by

no test coverage detected