MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / lua_CFunction lua_atpanic

Function lua_CFunction lua_atpanic

src/lapi.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142
143LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) {
144 lua_CFunction old;
145 lua_lock(L);
146 old = G(L)->panic;
147 G(L)->panic = panicf;
148 lua_unlock(L);
149 return old;
150}
151
152
153LUA_API lua_Number lua_version (lua_State *L) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected