MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / createNode

Function createNode

emmy_debugger/src/debugger/extension_point.cpp:108–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108int createNode(lua_State* L)
109{
110 auto arenaRef = EmmyFacade::Get().GetDebugger(L)->GetVariableArena();
111 if (arenaRef)
112 {
113 auto idx = arenaRef->Alloc();
114 pushVariable(L, idx);
115 return 1;
116 }
117 else
118 {
119 return 0;
120 }
121}
122
123ExtensionPoint::ExtensionPoint()
124{

Callers

nothing calls this directly

Calls 4

pushVariableFunction · 0.85
GetVariableArenaMethod · 0.80
AllocMethod · 0.80
GetDebuggerMethod · 0.45

Tested by

no test coverage detected