** Allocate and initialize CallInfo structure. At this point, the ** only valid fields in the call status are number of results, ** CIST_C (if it's a C function), and number of extra arguments. ** (All these bit-fields fit in 16-bit values.) */
| 626 | ** (All these bit-fields fit in 16-bit values.) |
| 627 | */ |
| 628 | l_sinline CallInfo *prepCallInfo (lua_State *L, StkId func, unsigned status, |
| 629 | StkId top) { |
| 630 | CallInfo *ci = L->ci = next_ci(L); /* new frame */ |
| 631 | ci->func.p = func; |
| 632 | lua_assert((status & ~(CIST_NRESULTS | CIST_C | MAX_CCMT)) == 0); |
| 633 | ci->callstatus = status; |
| 634 | ci->top.p = top; |
| 635 | return ci; |
| 636 | } |
| 637 | |
| 638 | |
| 639 | /* |
no outgoing calls
no test coverage detected