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 /opcode.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 'opcode.h')
-rw-r--r-- | opcode.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | ** TeCGraf - PUC-Rio | 2 | ** TeCGraf - PUC-Rio |
3 | ** $Id: opcode.h,v 3.29 1997/03/19 19:41:10 roberto Exp roberto $ | 3 | ** $Id: opcode.h,v 3.30 1997/03/20 19:20:43 roberto Exp roberto $ |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef opcode_h | 6 | #ifndef opcode_h |
@@ -125,11 +125,11 @@ typedef union | |||
125 | int i; | 125 | int i; |
126 | } Value; | 126 | } Value; |
127 | 127 | ||
128 | typedef struct Object | 128 | typedef struct TObject |
129 | { | 129 | { |
130 | lua_Type ttype; | 130 | lua_Type ttype; |
131 | Value value; | 131 | Value value; |
132 | } Object; | 132 | } TObject; |
133 | 133 | ||
134 | 134 | ||
135 | /* Macros to access structure members */ | 135 | /* Macros to access structure members */ |
@@ -159,10 +159,10 @@ typedef struct Object | |||
159 | /* Exported functions */ | 159 | /* Exported functions */ |
160 | void lua_parse (TFunc *tf); /* from "lua.stx" module */ | 160 | void lua_parse (TFunc *tf); /* from "lua.stx" module */ |
161 | void luaI_codedebugline (int line); /* from "lua.stx" module */ | 161 | void luaI_codedebugline (int line); /* from "lua.stx" module */ |
162 | void lua_travstack (int (*fn)(Object *)); | 162 | void lua_travstack (int (*fn)(TObject *)); |
163 | Object *luaI_Address (lua_Object o); | 163 | TObject *luaI_Address (lua_Object o); |
164 | void luaI_pushobject (Object *o); | 164 | void luaI_pushobject (TObject *o); |
165 | void luaI_gcIM (Object *o); | 165 | void luaI_gcIM (TObject *o); |
166 | int luaI_dorun (TFunc *tf); | 166 | int luaI_dorun (TFunc *tf); |
167 | 167 | ||
168 | #endif | 168 | #endif |