MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / luaD_rawrunprotected

Function luaD_rawrunprotected

lua/ldo.c:112–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected