MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / setarrayvector

Function setarrayvector

src/Chain/libraries/glua/ltable.cpp:435–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433
434
435static void setarrayvector(lua_State *L, Table *t, unsigned int size) {
436 unsigned int i;
437 luaM_reallocvector(L, t->array, t->sizearray, size, TValue);
438 for (i = t->sizearray; i < size; i++)
439 setnilvalue(&t->array[i]);
440 t->sizearray = size;
441}
442
443
444static void setnodevector(lua_State *L, Table *t, unsigned int size) {

Callers 1

luaH_resizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected