| 141 | |
| 142 | |
| 143 | LUA_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 | |
| 153 | LUA_API lua_Number lua_version (lua_State *L) { |
nothing calls this directly
no outgoing calls
no test coverage detected