** Delete all objects in list 'p' until (but not including) object ** 'limit'. */
| 1388 | ** 'limit'. |
| 1389 | */ |
| 1390 | static void deletelist (lua_State *L, GCObject *p, GCObject *limit) { |
| 1391 | while (p != limit) { |
| 1392 | GCObject *next = p->next; |
| 1393 | freeobj(L, p); |
| 1394 | p = next; |
| 1395 | } |
| 1396 | } |
| 1397 | |
| 1398 | |
| 1399 | /* |
no test coverage detected