Searched refs:errfunc (Results 1 – 6 of 6) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | ldo.c | 89 L->errfunc = 0; in resetstack() 426 lua_assert(L->errfunc == 0); in lua_resume() 462 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall() 463 L->errfunc = ef; in luaD_pcall() 476 L->errfunc = old_errfunc; in luaD_pcall() 514 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
|
| H A D | ldebug.c | 619 if (L->errfunc != 0) { /* is there an error handling function? */ in luaG_errormsg() 620 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg() local 621 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); in luaG_errormsg() 623 setobjs2s(L, L->top - 1, errfunc); /* push function */ in luaG_errormsg()
|
| H A D | lstate.c | 100 L->errfunc = 0; in preinit_state() 204 L->errfunc = 0; /* no error function during GC metamethods */ in lua_close()
|
| H A D | lstate.h | 126 ptrdiff_t errfunc; /* current error handling function (stack index) */ member
|
| H A D | lapi.c | 805 LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errfunc) { in lua_pcall() argument 812 if (errfunc == 0) in lua_pcall() 815 StkId o = index2adr(L, errfunc); in lua_pcall()
|
| H A D | lua.h | 202 LUA_API int (lua_pcall) (lua_State *L, int nargs, int nresults, int errfunc);
|