MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / treatstackoption

Function treatstackoption

ogsr_engine/LuaJIT/src/lib_debug.c:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99static void treatstackoption(lua_State *L, lua_State *L1, const char *fname)
100{
101 if (L == L1) {
102 lua_pushvalue(L, -2);
103 lua_remove(L, -3);
104 }
105 else
106 lua_xmove(L1, L, 1);
107 lua_setfield(L, -2, fname);
108}
109
110LJLIB_CF(debug_getinfo)
111{

Callers 1

lib_debug.cFile · 0.85

Calls 4

lua_xmoveFunction · 0.85
lua_pushvalueFunction · 0.70
lua_removeFunction · 0.70
lua_setfieldFunction · 0.70

Tested by

no test coverage detected