MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaD_rawrunprotected

Function luaD_rawrunprotected

Source/Misc/lua/src/lua.c:5257–5267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

lua_resumeFunction · 0.85
luaD_pcallFunction · 0.85
lua_newstateFunction · 0.85
lua_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected