| 643 | |
| 644 | |
| 645 | static Node *getfreepos (Table *t) { |
| 646 | if (!isdummy(t)) { |
| 647 | while (t->lastfree > t->node) { |
| 648 | t->lastfree--; |
| 649 | if (keyisnil(t->lastfree)) |
| 650 | return t->lastfree; |
| 651 | } |
| 652 | } |
| 653 | return NULL; /* could not find a free place */ |
| 654 | } |
| 655 | |
| 656 | |
| 657 |