** advances the garbage collector until it reaches a state allowed ** by 'statemask' */
| 1102 | ** by 'statemask' |
| 1103 | */ |
| 1104 | void luaC_runtilstate (lua_State *L, int statesmask) { |
| 1105 | global_State *g = G(L); |
| 1106 | while (!testbit(statesmask, g->gcstate)) |
| 1107 | singlestep(L); |
| 1108 | } |
| 1109 | |
| 1110 | |
| 1111 | /* |
no test coverage detected