** Advances the garbage collector until it reaches the given state. ** (The option 'fast' is only for testing; in normal code, 'fast' ** here is always true.) */
| 1692 | ** here is always true.) |
| 1693 | */ |
| 1694 | void luaC_runtilstate (lua_State *L, int state, int fast) { |
| 1695 | global_State *g = G(L); |
| 1696 | lua_assert(g->gckind == KGC_INC); |
| 1697 | while (state != g->gcstate) |
| 1698 | singlestep(L, fast); |
| 1699 | } |
| 1700 | |
| 1701 | |
| 1702 |
no test coverage detected