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 /ltable.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 'ltable.c')
-rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 2.8 2004/11/24 18:55:42 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.9 2004/11/24 19:16:03 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -335,7 +335,7 @@ void luaH_free (lua_State *L, Table *t) { | |||
335 | if (t->lsizenode) | 335 | if (t->lsizenode) |
336 | luaM_freearray(L, t->node, sizenode(t), Node); | 336 | luaM_freearray(L, t->node, sizenode(t), Node); |
337 | luaM_freearray(L, t->array, t->sizearray, TValue); | 337 | luaM_freearray(L, t->array, t->sizearray, TValue); |
338 | luaM_freelem(L, t); | 338 | luaM_free(L, t); |
339 | } | 339 | } |
340 | 340 | ||
341 | 341 | ||