aboutsummaryrefslogtreecommitdiff
path: root/table.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-03-31 11:02:58 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-03-31 11:02:58 -0300
commitad5574c4c97af3ef863a6fb4b72142f3780103b2 (patch)
tree7ef70322749e3e433321edbea89d61087d820c55 /table.h
parent264f8c5e7bd168de2f0ca07399e6fc70d5a820d3 (diff)
downloadlua-ad5574c4c97af3ef863a6fb4b72142f3780103b2.tar.gz
lua-ad5574c4c97af3ef863a6fb4b72142f3780103b2.tar.bz2
lua-ad5574c4c97af3ef863a6fb4b72142f3780103b2.zip
"Object" renamed to "TObject" (Tagged Object), to avoid conflicts with
pre-defined names in some C compilers.
Diffstat (limited to 'table.h')
-rw-r--r--table.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/table.h b/table.h
index 42d44c07..d03a5607 100644
--- a/table.h
+++ b/table.h
@@ -1,7 +1,7 @@
1/* 1/*
2** Module to control static tables 2** Module to control static tables
3** TeCGraf - PUC-Rio 3** TeCGraf - PUC-Rio
4** $Id: table.h,v 2.21 1996/04/22 18:00:37 roberto Exp roberto $ 4** $Id: table.h,v 2.22 1997/02/26 17:38:41 roberto Unstable roberto $
5*/ 5*/
6 6
7#ifndef table_h 7#ifndef table_h
@@ -12,7 +12,7 @@
12 12
13typedef struct 13typedef struct
14{ 14{
15 Object object; 15 TObject object;
16 TaggedString *varname; 16 TaggedString *varname;
17} Symbol; 17} Symbol;
18 18
@@ -30,8 +30,8 @@ Word luaI_findconstant (TaggedString *t);
30Word luaI_findconstantbyname (char *name); 30Word luaI_findconstantbyname (char *name);
31void luaI_nextvar (void); 31void luaI_nextvar (void);
32TaggedString *luaI_createfixedstring (char *str); 32TaggedString *luaI_createfixedstring (char *str);
33int lua_markobject (Object *o); 33int lua_markobject (TObject *o);
34int luaI_ismarked (Object *o); 34int luaI_ismarked (TObject *o);
35Long luaI_collectgarbage (void); 35Long luaI_collectgarbage (void);
36void lua_pack (void); 36void lua_pack (void);
37 37