diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-11-24 17:20:21 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-11-24 17:20:21 -0200 |
commit | 0e002005b1bf17e962d4640ef7b9fae900514f1a (patch) | |
tree | c68a025d99d1dfa7a033baa765ba701909d8a4fb /lstate.c | |
parent | 1d99a7360beaf1a50a3739413b1ad6ed4b71491d (diff) | |
download | lua-0e002005b1bf17e962d4640ef7b9fae900514f1a.tar.gz lua-0e002005b1bf17e962d4640ef7b9fae900514f1a.tar.bz2 lua-0e002005b1bf17e962d4640ef7b9fae900514f1a.zip |
better names for `luaM_free...' macros
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.15 2004/10/06 18:34:16 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.16 2004/11/19 15:52:40 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -155,7 +155,7 @@ void luaE_freethread (lua_State *L, lua_State *L1) { | |||
155 | luaF_close(L1, L1->stack); /* close all upvalues for this thread */ | 155 | luaF_close(L1, L1->stack); /* close all upvalues for this thread */ |
156 | lua_assert(L1->openupval == NULL); | 156 | lua_assert(L1->openupval == NULL); |
157 | freestack(L, L1); | 157 | freestack(L, L1); |
158 | luaM_free(L, fromstate(L1), state_size(lua_State)); | 158 | luaM_freemem(L, fromstate(L1), state_size(lua_State)); |
159 | } | 159 | } |
160 | 160 | ||
161 | 161 | ||