MCPcopy Create free account
hub / github.com/Tencent/sluaunreal / setarrayvector

Function setarrayvector

Plugins/slua_unreal/External/lua/ltable.cpp:298–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296
297
298static void setarrayvector (lua_State *L, Table *t, unsigned int size) {
299 unsigned int i;
300 luaM_reallocvector(L, t->array, t->sizearray, size, TValue);
301 for (i=t->sizearray; i<size; i++)
302 setnilvalue(&t->array[i]);
303 t->sizearray = size;
304}
305
306
307static 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