MCPcopy Create free account
hub / github.com/Tencent/sluaunreal / lua_CFunction lua_atpanic

Function lua_CFunction lua_atpanic

Plugins/slua_unreal/External/lua/lapi.cpp:132–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131
132LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) {
133 lua_CFunction old;
134 lua_lock(L);
135 old = G(L)->panic;
136 G(L)->panic = panicf;
137 lua_unlock(L);
138 return old;
139}
140
141
142LUA_API const lua_Number *lua_version (lua_State *L) {

Callers

nothing calls this directly

Calls 1

GFunction · 0.85

Tested by

no test coverage detected