MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / getfreepos

Function getfreepos

other_src/lua/src/ltable.cpp:385–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383
384
385static Node *getfreepos (Table *t) {
386 while (t->lastfree-- > t->node) {
387 if (ttisnil(gkey(t->lastfree)))
388 return t->lastfree;
389 }
390 return NULL; /* could not find a free place */
391}
392
393
394

Callers 1

newkeyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected