Lines Matching refs:L
19 #define luaM_reallocv(L,b,on,n,e) \ argument
21 luaM_realloc_(L, (b), (on)*(e), (n)*(e)) : \
22 luaM_toobig(L))
24 #define luaM_freemem(L, b, s) luaM_realloc_(L, (b), (s), 0) argument
25 #define luaM_free(L, b) luaM_realloc_(L, (b), sizeof(*(b)), 0) argument
26 #define luaM_freearray(L, b, n, t) luaM_reallocv(L, (b), n, 0, sizeof(t)) argument
28 #define luaM_malloc(L,t) luaM_realloc_(L, NULL, 0, (t)) argument
29 #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t))) argument
30 #define luaM_newvector(L,n,t) \ argument
31 cast(t *, luaM_reallocv(L, NULL, 0, n, sizeof(t)))
33 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument
35 ((v)=cast(t *, luaM_growaux_(L,v,&(size),sizeof(t),limit,e)))
37 #define luaM_reallocvector(L, v,oldn,n,t) \ argument
38 ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t))))
41 LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize,
43 LUAI_FUNC void *luaM_toobig (lua_State *L);
44 LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int *size,