** advances the garbage collector until it reaches a state allowed ** by 'statemask' */
| 1529 | ** by 'statemask' |
| 1530 | */ |
| 1531 | void luaC_runtilstate (lua_State *L, int statesmask) { |
| 1532 | global_State *g = G(L); |
| 1533 | while (!testbit(statesmask, g->gcstate)) |
| 1534 | singlestep(L); |
| 1535 | } |
| 1536 | |
| 1537 | |
| 1538 | /* |
no test coverage detected