| 5255 | |
| 5256 | |
| 5257 | int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) { |
| 5258 | struct lua_longjmp lj; |
| 5259 | lj.status = 0; |
| 5260 | lj.previous = L->errorJmp; /* chain new error handler */ |
| 5261 | L->errorJmp = &lj; |
| 5262 | LUAI_TRY(L, &lj, |
| 5263 | (*f)(L, ud); |
| 5264 | ); |
| 5265 | L->errorJmp = lj.previous; /* restore old error handler */ |
| 5266 | return lj.status; |
| 5267 | } |
| 5268 | |
| 5269 | /* }====================================================== */ |
| 5270 |
no outgoing calls
no test coverage detected