Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OGSR/OGSR-Engine
/ get_lua_traceback
Function
get_lua_traceback
ogsr_engine/COMMON_AI/script_engine.cpp:28–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
{1}";
27
28
static const char* get_lua_traceback(lua_State* L)
29
{
30
luaL_traceback(L, L, nullptr, 0);
31
auto tb = lua_tostring(L, -1);
32
lua_pop(L, 1);
33
return tb;
34
}
35
36
CScriptEngine::~CScriptEngine()
37
{
Callers
2
print_stack
Method · 0.70
print_output
Method · 0.70
Calls
1
luaL_traceback
Function · 0.85
Tested by
no test coverage detected