From 0e002005b1bf17e962d4640ef7b9fae900514f1a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 Nov 2004 17:20:21 -0200 Subject: better names for `luaM_free...' macros --- lmem.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lmem.h') diff --git a/lmem.h b/lmem.h index d946f56e..514cccfd 100644 --- a/lmem.h +++ b/lmem.h @@ -1,5 +1,5 @@ /* -** $Id: lmem.h,v 1.26 2002/05/01 20:40:42 roberto Exp roberto $ +** $Id: lmem.h,v 1.27 2004/11/19 15:52:40 roberto Exp roberto $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ @@ -29,8 +29,8 @@ void *luaM_toobig (lua_State *L); void *luaM_growaux (lua_State *L, void *block, int *size, size_t size_elem, int limit, const char *errormsg); -#define luaM_free(L, b, s) luaM_realloc(L, (b), (s), 0) -#define luaM_freelem(L, b) luaM_realloc(L, (b), sizeof(*(b)), 0) +#define luaM_freemem(L, b, s) luaM_realloc(L, (b), (s), 0) +#define luaM_free(L, b) luaM_realloc(L, (b), sizeof(*(b)), 0) #define luaM_freearray(L, b, n, t) luaM_reallocv(L, (b), n, 0, sizeof(t)) #define luaM_malloc(L,t) luaM_realloc(L, NULL, 0, (t)) -- cgit v1.2.3-55-g6feb