MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / pushLuaDebugTraceback

Function pushLuaDebugTraceback

framework/luaframework.cpp:236–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234void pushToLua(lua_State *L [[maybe_unused]]) { LogError("Unimplemented Lua function"); }
235
236void pushLuaDebugTraceback(lua_State *L)
237{
238 lua_getglobal(L, "debug");
239 lua_getfield(L, -1, "traceback");
240 lua_remove(L, -2); // remove debug table
241}
242
243void handleLuaError(lua_State *L, LogLevel level)
244{

Callers 3

initMethod · 0.85
callHookMethod · 0.85
runScriptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected