** Delete all objects in list 'p' until (but not including) object ** 'limit'. */
| 1488 | ** 'limit'. |
| 1489 | */ |
| 1490 | static void deletelist (lua_State *L, GCObject *p, GCObject *limit) { |
| 1491 | while (p != limit) { |
| 1492 | GCObject *next = p->next; |
| 1493 | freeobj(L, p); |
| 1494 | p = next; |
| 1495 | } |
| 1496 | } |
| 1497 | |
| 1498 | |
| 1499 | /* |
no test coverage detected