** advances the garbage collector until it reaches a state allowed ** by 'statemask' */
| 1641 | ** by 'statemask' |
| 1642 | */ |
| 1643 | void luaC_runtilstate (lua_State *L, int statesmask) { |
| 1644 | global_State *g = G(L); |
| 1645 | while (!testbit(statesmask, g->gcstate)) |
| 1646 | singlestep(L); |
| 1647 | } |
| 1648 | |
| 1649 | |
| 1650 | /* |
no test coverage detected