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 /tree.c | |
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 'tree.c')
-rw-r--r-- | tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_tree="$Id: tree.c,v 1.21 1997/02/11 11:35:05 roberto Exp roberto $"; | 6 | char *rcs_tree="$Id: tree.c,v 1.22 1997/03/19 19:41:10 roberto Exp roberto $"; |
7 | 7 | ||
8 | 8 | ||
9 | #include <string.h> | 9 | #include <string.h> |
@@ -125,7 +125,7 @@ TaggedString *lua_createstring (char *str) | |||
125 | void luaI_strcallIM (void) | 125 | void luaI_strcallIM (void) |
126 | { | 126 | { |
127 | int i; | 127 | int i; |
128 | Object o; | 128 | TObject o; |
129 | ttype(&o) = LUA_T_USERDATA; | 129 | ttype(&o) = LUA_T_USERDATA; |
130 | for (i=0; i<NUM_HASHS; i++) { | 130 | for (i=0; i<NUM_HASHS; i++) { |
131 | stringtable *tb = &string_root[i]; | 131 | stringtable *tb = &string_root[i]; |