Searched refs:luaM_realloc_ (Results 1 – 2 of 2) sorted by relevance
/external/lua/src/ |
D | lmem.h | 33 luaM_realloc_(L, (b), (on)*(e), (n)*(e))) 39 cast(char *, luaM_realloc_(L, (b), (on)*sizeof(char), (n)*sizeof(char))) 41 #define luaM_freemem(L, b, s) luaM_realloc_(L, (b), (s), 0) 42 #define luaM_free(L, b) luaM_realloc_(L, (b), sizeof(*(b)), 0) 43 #define luaM_freearray(L, b, n) luaM_realloc_(L, (b), (n)*sizeof(*(b)), 0) 45 #define luaM_malloc(L,s) luaM_realloc_(L, NULL, 0, (s)) 50 #define luaM_newobject(L,tag,s) luaM_realloc_(L, NULL, tag, (s)) 62 LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize,
|
D | lmem.c | 77 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() function
|