MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / setarrayvector

Function setarrayvector

Source/Misc/lua/src/lua.c:9503–9509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9501
9502
9503static void setarrayvector (lua_State *L, Table *t, int size) {
9504int i;
9505luaM_reallocvector(L, t->array, t->sizearray, size, TValue);
9506for (i=t->sizearray; i<size; i++)
9507setnilvalue(&t->array[i]);
9508t->sizearray = size;
9509}
9510
9511
9512static void setnodevector (lua_State *L, Table *t, int size) {

Callers 2

resizeFunction · 0.85
luaH_newFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected