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

Function callrethooks

lua/ldo.c:339–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337
338
339static StkId callrethooks (lua_State *L, StkId firstResult) {
340 ptrdiff_t fr = savestack(L, firstResult); /* next call may change stack */
341 luaD_callhook(L, LUA_HOOKRET, -1);
342 if (f_isLua(L->ci)) { /* Lua function? */
343 while ((L->hookmask & LUA_MASKRET) && L->ci->tailcalls--) /* tail calls */
344 luaD_callhook(L, LUA_HOOKTAILRET, -1);
345 }
346 return restorestack(L, fr);
347}
348
349
350int 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