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

Function lua_panic

ogsr_engine/Layers/xrRender/ResourceManager_Scripting.cpp:470–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468}
469
470int lua_panic(lua_State* L)
471{
472 print_output("[ResourceManager.lua_panic]", LUA_ERRRUN);
473 Debug.fatal(DEBUG_INFO, "[ResourceManager.lua_panic]: %s", lua_isstring(L, -1) ? lua_tostring(L, -1) : "");
474 return 0;
475}
476
477#ifndef LUABIND_09
478static void* __cdecl luabind_allocator(luabind::memory_allocation_function_parameter, const void* pointer,

Callers

nothing calls this directly

Calls 3

print_outputFunction · 0.70
lua_isstringFunction · 0.50
fatalMethod · 0.45

Tested by

no test coverage detected