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 /hash.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 'hash.h')
-rw-r--r-- | hash.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | ** hash.h | 2 | ** hash.h |
3 | ** hash manager for lua | 3 | ** hash manager for lua |
4 | ** $Id: hash.h,v 2.13 1997/02/26 17:38:41 roberto Unstable roberto $ | 4 | ** $Id: hash.h,v 2.14 1997/03/19 19:41:10 roberto Exp roberto $ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef hash_h | 7 | #ifndef hash_h |
@@ -11,8 +11,8 @@ | |||
11 | #include "opcode.h" | 11 | #include "opcode.h" |
12 | 12 | ||
13 | typedef struct node { | 13 | typedef struct node { |
14 | Object ref; | 14 | TObject ref; |
15 | Object val; | 15 | TObject val; |
16 | } Node; | 16 | } Node; |
17 | 17 | ||
18 | typedef struct Hash { | 18 | typedef struct Hash { |
@@ -25,14 +25,14 @@ typedef struct Hash { | |||
25 | } Hash; | 25 | } Hash; |
26 | 26 | ||
27 | 27 | ||
28 | int lua_equalObj (Object *t1, Object *t2); | 28 | int lua_equalObj (TObject *t1, TObject *t2); |
29 | int luaI_redimension (int nhash); | 29 | int luaI_redimension (int nhash); |
30 | Hash *lua_createarray (int nhash); | 30 | Hash *lua_createarray (int nhash); |
31 | void lua_hashmark (Hash *h); | 31 | void lua_hashmark (Hash *h); |
32 | Long lua_hashcollector (void); | 32 | Long lua_hashcollector (void); |
33 | void luaI_hashcallIM (void); | 33 | void luaI_hashcallIM (void); |
34 | Object *lua_hashget (Hash *t, Object *ref); | 34 | TObject *lua_hashget (Hash *t, TObject *ref); |
35 | Object *lua_hashdefine (Hash *t, Object *ref); | 35 | TObject *lua_hashdefine (Hash *t, TObject *ref); |
36 | void lua_next (void); | 36 | void lua_next (void); |
37 | 37 | ||
38 | #endif | 38 | #endif |