aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-01-13 18:10:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-01-13 18:10:50 -0300
commit8eb0abc9db4d47db5192bed18565e3d1aa53566d (patch)
tree2a8509c2fb739bd57274a4b12f532e3f5418dcb2 /lgc.c
parentd862da6d04111ce7e5b225040fbe7e526761f478 (diff)
downloadlua-8eb0abc9db4d47db5192bed18565e3d1aa53566d.tar.gz
lua-8eb0abc9db4d47db5192bed18565e3d1aa53566d.tar.bz2
lua-8eb0abc9db4d47db5192bed18565e3d1aa53566d.zip
Removed uses of LUA_NUMTAGS
That constant was already deprecated (see commit 6aabf4b15e7).
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lgc.c b/lgc.c
index 4cdea02a..f813038f 100644
--- a/lgc.c
+++ b/lgc.c
@@ -330,7 +330,7 @@ static void reallymarkobject (global_State *g, GCObject *o) {
330*/ 330*/
331static void markmt (global_State *g) { 331static void markmt (global_State *g) {
332 int i; 332 int i;
333 for (i=0; i < LUA_NUMTAGS; i++) 333 for (i=0; i < LUA_NUMTYPES; i++)
334 markobjectN(g, g->mt[i]); 334 markobjectN(g, g->mt[i]);
335} 335}
336 336