Searched refs:luaM_newvector (Results 1 – 4 of 4) sorted by relevance
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lmem.h | 64 #define luaM_newvector(L,n,t) cast(t*, luaM_malloc_(L, (n)*sizeof(t), 0)) macro 66 (luaM_checksize(L,n,sizeof(t)), luaM_newvector(L,n,t))
|
H A D | lstring.c | 131 tb->hash = luaM_newvector(L, MINSTRTABSIZE, TString*); in luaS_init()
|
H A D | lstate.c | 187 L1->stack.p = luaM_newvector(L, BASIC_STACK_SIZE + EXTRA_STACK, StackValue); in stack_init()
|
H A D | ltable.c | 502 t->node = luaM_newvector(L, size, Node); in setnodevector()
|