** advances the garbage collector until it reaches a state allowed ** by 'statemask' */
| 1650 | ** by 'statemask' |
| 1651 | */ |
| 1652 | void luaC_runtilstate (lua_State *L, int statesmask) { |
| 1653 | global_State *g = G(L); |
| 1654 | while (!testbit(statesmask, g->gcstate)) |
| 1655 | singlestep(L); |
| 1656 | } |
| 1657 | |
| 1658 | |
| 1659 |
no test coverage detected