From ad5574c4c97af3ef863a6fb4b72142f3780103b2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 31 Mar 1997 11:02:58 -0300 Subject: "Object" renamed to "TObject" (Tagged Object), to avoid conflicts with pre-defined names in some C compilers. --- table.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'table.c') diff --git a/table.c b/table.c index 60c2cd42..cdcf4673 100644 --- a/table.c +++ b/table.c @@ -3,7 +3,7 @@ ** Module to control static tables */ -char *rcs_table="$Id: table.c,v 2.62 1997/03/21 21:39:57 roberto Exp roberto $"; +char *rcs_table="$Id: table.c,v 2.63 1997/03/26 22:22:41 roberto Exp roberto $"; #include "mem.h" #include "opcode.h" @@ -113,7 +113,7 @@ TaggedString *luaI_createfixedstring (char *name) /* ** Traverse symbol table objects */ -static char *lua_travsymbol (int (*fn)(Object *)) +static char *lua_travsymbol (int (*fn)(TObject *)) { Word i; for (i=0; imarked)) @@ -142,7 +142,7 @@ int lua_markobject (Object *o) /* * returns 0 if the object is going to be (garbage) collected */ -int luaI_ismarked (Object *o) +int luaI_ismarked (TObject *o) { switch (o->ttype) { @@ -160,7 +160,7 @@ int luaI_ismarked (Object *o) static void call_nilIM (void) { /* signals end of garbage collection */ - Object t; + TObject t; ttype(&t) = LUA_T_NIL; luaI_gcIM(&t); /* end of list */ } @@ -227,8 +227,8 @@ void luaI_nextvar (void) } -static Object *functofind; -static int checkfunc (Object *o) +static TObject *functofind; +static int checkfunc (TObject *o) { if (o->ttype == LUA_T_FUNCTION) return -- cgit v1.2.3-55-g6feb