** Finishes a function call: calls hook if necessary, removes CallInfo, ** moves current number of results to proper place. */
| 413 | ** moves current number of results to proper place. |
| 414 | */ |
| 415 | void luaD_poscall (lua_State *L, CallInfo *ci, int nres) { |
| 416 | if (L->hookmask) |
| 417 | L->top = rethook(L, ci, L->top - nres, nres); |
| 418 | L->ci = ci->previous; /* back to caller */ |
| 419 | /* move results to proper place */ |
| 420 | moveresults(L, ci->func, nres, ci->nresults); |
| 421 | } |
| 422 | |
| 423 | |
| 424 |
no test coverage detected