** Delete all objects in list 'p' until (but not including) object ** 'limit'. */
| 1496 | ** 'limit'. |
| 1497 | */ |
| 1498 | static void deletelist (lua_State *L, GCObject *p, GCObject *limit) { |
| 1499 | while (p != limit) { |
| 1500 | GCObject *next = p->next; |
| 1501 | freeobj(L, p); |
| 1502 | p = next; |
| 1503 | } |
| 1504 | } |
| 1505 | |
| 1506 | |
| 1507 | /* |
no test coverage detected