diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-31 11:02:58 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-31 11:02:58 -0300 |
| commit | ad5574c4c97af3ef863a6fb4b72142f3780103b2 (patch) | |
| tree | 7ef70322749e3e433321edbea89d61087d820c55 /table.h | |
| parent | 264f8c5e7bd168de2f0ca07399e6fc70d5a820d3 (diff) | |
| download | lua-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.h | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -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 | ||
| 13 | typedef struct | 13 | typedef 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); | |||
| 30 | Word luaI_findconstantbyname (char *name); | 30 | Word luaI_findconstantbyname (char *name); |
| 31 | void luaI_nextvar (void); | 31 | void luaI_nextvar (void); |
| 32 | TaggedString *luaI_createfixedstring (char *str); | 32 | TaggedString *luaI_createfixedstring (char *str); |
| 33 | int lua_markobject (Object *o); | 33 | int lua_markobject (TObject *o); |
| 34 | int luaI_ismarked (Object *o); | 34 | int luaI_ismarked (TObject *o); |
| 35 | Long luaI_collectgarbage (void); | 35 | Long luaI_collectgarbage (void); |
| 36 | void lua_pack (void); | 36 | void lua_pack (void); |
| 37 | 37 | ||
