MCPcopy Create free account
hub / github.com/F-Stack/f-stack / callrethooks

Function callrethooks

app/redis-6.2.6/deps/lua/src/ldo.c:332–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330
331
332static StkId callrethooks (lua_State *L, StkId firstResult) {
333 ptrdiff_t fr = savestack(L, firstResult); /* next call may change stack */
334 luaD_callhook(L, LUA_HOOKRET, -1);
335 if (f_isLua(L->ci)) { /* Lua function? */
336 while ((L->hookmask & LUA_MASKRET) && L->ci->tailcalls--) /* tail calls */
337 luaD_callhook(L, LUA_HOOKTAILRET, -1);
338 }
339 return restorestack(L, fr);
340}
341
342
343int luaD_poscall (lua_State *L, StkId firstResult) {

Callers 1

luaD_poscallFunction · 0.85

Calls 1

luaD_callhookFunction · 0.85

Tested by

no test coverage detected