diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-12 13:07:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-12 13:07:29 -0300 |
commit | d20ff60615c3839ee14dd35c7aef0ca084fc24b4 (patch) | |
tree | 5f8a2decb76f82618e4fc340fcf952bcab166fa9 /lgc.c | |
parent | d41b467320e3962b36cf6011245e924a512a5f9a (diff) | |
download | lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.tar.gz lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.tar.bz2 lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.zip |
new macro LUA_NUMTAGS
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 2.76 2010/04/02 14:37:41 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 2.77 2010/04/05 14:15:35 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -213,7 +213,7 @@ static void reallymarkobject (global_State *g, GCObject *o) { | |||
213 | 213 | ||
214 | static void markmt (global_State *g) { | 214 | static void markmt (global_State *g) { |
215 | int i; | 215 | int i; |
216 | for (i=0; i<NUM_TAGS; i++) | 216 | for (i=0; i < LUA_NUMTAGS; i++) |
217 | markobject(g, g->mt[i]); | 217 | markobject(g, g->mt[i]); |
218 | } | 218 | } |
219 | 219 | ||