MCPcopy Create free account
hub / github.com/defold/defold / getfreepos

Function getfreepos

engine/lua/src/lua/ltable.c:382–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

newkeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected