** Similar to 'luaD_call', but does not allow yields during the call. ** If there is a stack overflow, freeing all CI structures will ** force the subsequent call to invoke 'luaE_extendCI', which then ** will raise any errors. */
| 520 | ** will raise any errors. |
| 521 | */ |
| 522 | void luaD_callnoyield (lua_State *L, StkId func, int nResults) { |
| 523 | incXCcalls(L); |
| 524 | if (getCcalls(L) <= CSTACKERR) /* possible stack overflow? */ |
| 525 | luaE_freeCI(L); |
| 526 | luaD_call(L, func, nResults); |
| 527 | decXCcalls(L); |
| 528 | } |
| 529 | |
| 530 | |
| 531 | /* |
no test coverage detected