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

Function emmyHelperInit

emmy_debugger/src/debugger/extension_point.cpp:128–138  ·  view source on GitHub ↗

emmy_init(emmy)

Source from the content-addressed store, hash-verified

126
127// emmy_init(emmy)
128int emmyHelperInit(lua_State* L)
129{
130 lua_getglobal(L, ExtensionPoint::ExtensionTable.c_str());
131 if (lua_istable(L, -1))
132 {
133 // create node
134 lua_pushcfunction(L, createNode);
135 lua_setfield(L, -2, "createNode");
136 }
137 return 0;
138}
139
140void ExtensionPoint::Initialize(lua_State* L)
141{

Callers

nothing calls this directly

Calls 2

lua_getglobalFunction · 0.50
lua_setfieldFunction · 0.50

Tested by

no test coverage detected