| 599 | |
| 600 | |
| 601 | static Node *getfreepos (Table *t) { |
| 602 | if (!isdummy(t)) { |
| 603 | while (t->lastfree > t->node) { |
| 604 | t->lastfree--; |
| 605 | if (keyisnil(t->lastfree)) |
| 606 | return t->lastfree; |
| 607 | } |
| 608 | } |
| 609 | return NULL; /* could not find a free place */ |
| 610 | } |
| 611 | |
| 612 | |
| 613 |