better names for `luaM_free...' macros

This commit is contained in:
Roberto Ierusalimschy
2004-11-24 17:20:21 -02:00
parent 1d99a7360b
commit 0e002005b1
5 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.c,v 2.15 2004/10/06 18:34:16 roberto Exp roberto $
** $Id: lstate.c,v 2.16 2004/11/19 15:52:40 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -155,7 +155,7 @@ void luaE_freethread (lua_State *L, lua_State *L1) {
luaF_close(L1, L1->stack); /* close all upvalues for this thread */
lua_assert(L1->openupval == NULL);
freestack(L, L1);
luaM_free(L, fromstate(L1), state_size(lua_State));
luaM_freemem(L, fromstate(L1), state_size(lua_State));
}