** Delete all objects in list 'p' until (but not including) object ** 'limit'. */
| 1514 | ** 'limit'. |
| 1515 | */ |
| 1516 | static void deletelist (lua_State *L, GCObject *p, GCObject *limit) { |
| 1517 | while (p != limit) { |
| 1518 | GCObject *next = p->next; |
| 1519 | freeobj(L, p); |
| 1520 | p = next; |
| 1521 | } |
| 1522 | } |
| 1523 | |
| 1524 | |
| 1525 | /* |
no test coverage detected