Searched refs:errfunc (Results 1 - 7 of 7) sorted by relevance

/barrelfish-master/lib/lua/src/
H A Dldebug.c574 if (L->errfunc != 0) { /* is there an error handling function? */
575 StkId errfunc = restorestack(L, L->errfunc); local
576 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR);
578 setobjs2s(L, L->top - 1, errfunc); /* push function */
H A Dlstate.h174 ptrdiff_t errfunc; /* current error handling function (stack index) */ member in struct:lua_State
H A Dldo.c415 L->errfunc = ci->u.c.old_errfunc;
473 L->errfunc = ci->u.c.old_errfunc;
601 ptrdiff_t old_errfunc = L->errfunc;
602 L->errfunc = ef;
613 L->errfunc = old_errfunc;
672 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc);
H A Dlapi.c928 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, argument
939 if (errfunc == 0)
942 StkId o = index2addr(L, errfunc);
943 api_checkstackindex(L, errfunc, o);
958 ci->u.c.old_errfunc = L->errfunc;
959 L->errfunc = func;
964 L->errfunc = ci->u.c.old_errfunc;
H A Dlstate.c219 L->errfunc = 0;
/barrelfish-master/include/lua/
H A Dlua.h257 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,
/barrelfish-master/lib/libc/gen/
H A Dglob.c188 int (*errfunc)(const char *, int), glob_t * __restrict pglob)
211 pglob->gl_errfunc = errfunc;

Completed in 53 milliseconds