| 109 | |
| 110 | |
| 111 | int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) { |
| 112 | struct lua_longjmp lj; |
| 113 | lj.status = 0; |
| 114 | lj.previous = L->errorJmp; /* chain new error handler */ |
| 115 | L->errorJmp = &lj; |
| 116 | LUAI_TRY(L, &lj, |
| 117 | (*f)(L, ud); |
| 118 | ); |
| 119 | L->errorJmp = lj.previous; /* restore old error handler */ |
| 120 | return lj.status; |
| 121 | } |
| 122 | |
| 123 | /* }====================================================== */ |
| 124 |
no outgoing calls
no test coverage detected