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

Function LuaError

ogsr_engine/Layers/xrRender/ResourceManager_Scripting.cpp:438–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436
437#ifdef LUABIND_NO_EXCEPTIONS
438void LuaError(lua_State* L)
439{
440 print_output("[ResourceManager.lua_error]", LUA_ERRRUN);
441 Debug.fatal(DEBUG_INFO, "[ResourceManager.lua_error]: %s", lua_isstring(L, -1) ? lua_tostring(L, -1) : "");
442}
443
444#ifdef LUABIND_09
445static void lua_cast_failed(lua_State* L, const luabind::type_id& info)

Callers

nothing calls this directly

Calls 3

print_outputFunction · 0.70
lua_isstringFunction · 0.50
fatalMethod · 0.45

Tested by

no test coverage detected