Searched refs:luaM_newvector (Results 1 – 4 of 4) sorted by relevance
/external/lua/src/ |
D | lmem.h | 60 #define luaM_newvector(L,n,t) cast(t*, luaM_malloc_(L, (n)*sizeof(t), 0)) macro 62 (luaM_checksize(L,n,sizeof(t)), luaM_newvector(L,n,t))
|
D | lstring.c | 139 tb->hash = luaM_newvector(L, MINSTRTABSIZE, TString*); in luaS_init()
|
D | lstate.c | 217 L1->stack = luaM_newvector(L, BASIC_STACK_SIZE, StackValue); in stack_init()
|
D | ltable.c | 448 t->node = luaM_newvector(L, size, Node); in setnodevector()
|