MCPcopy Create free account
hub / github.com/F-Stack/f-stack / setarrayvector

Function setarrayvector

freebsd/contrib/openzfs/module/lua/ltable.c:270–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268
269
270static void setarrayvector (lua_State *L, Table *t, int size) {
271 int i;
272 luaM_reallocvector(L, t->array, t->sizearray, size, TValue);
273 for (i=t->sizearray; i<size; i++)
274 setnilvalue(&t->array[i]);
275 t->sizearray = size;
276}
277
278
279static void setnodevector (lua_State *L, Table *t, int size) {

Callers 1

luaH_resizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected