| 132 | |
| 133 | |
| 134 | LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { |
| 135 | lua_CFunction old; |
| 136 | lua_lock(L); |
| 137 | old = G(L)->panic; |
| 138 | G(L)->panic = panicf; |
| 139 | lua_unlock(L); |
| 140 | return old; |
| 141 | } |
| 142 | |
| 143 | |
| 144 | LUA_API const lua_Number *lua_version (lua_State *L) { |
nothing calls this directly
no outgoing calls
no test coverage detected