| D | lmem.h | 24 #define luaM_reallocv(L,b,on,n,e) \ argument 29 #define luaM_freemem(L, b, s) luaM_realloc_(L, (b), (s), 0) argument 30 #define luaM_free(L, b) luaM_realloc_(L, (b), sizeof(*(b)), 0) argument 31 #define luaM_freearray(L, b, n) luaM_reallocv(L, (b), n, 0, sizeof((b)[0])) argument 33 #define luaM_malloc(L,s) luaM_realloc_(L, NULL, 0, (s)) argument 34 #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t))) argument 35 #define luaM_newvector(L,n,t) \ argument 38 #define luaM_newobject(L,tag,s) luaM_realloc_(L, NULL, tag, (s)) argument 40 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument 44 #define luaM_reallocvector(L, v,oldn,n,t) \ argument
|