| 145 | |
| 146 | |
| 147 | LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { |
| 148 | lua_CFunction old; |
| 149 | lua_lock(L); |
| 150 | old = G(L)->panic; |
| 151 | G(L)->panic = panicf; |
| 152 | lua_unlock(L); |
| 153 | return old; |
| 154 | } |
| 155 | |
| 156 | |
| 157 | LUA_API lua_Number lua_version (lua_State *L) { |
nothing calls this directly
no outgoing calls
no test coverage detected