diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-07 12:13:17 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-07 12:13:17 -0200 |
commit | 995a9f71885fc1979a9a23edc3c34e19b36e7653 (patch) | |
tree | 9fcf09085f4fc5f68a68118c4002b059c0a4e61d /hash.c | |
parent | a0ef046ef16e6bbf99fbbe594638593089253483 (diff) | |
download | lua-995a9f71885fc1979a9a23edc3c34e19b36e7653.tar.gz lua-995a9f71885fc1979a9a23edc3c34e19b36e7653.tar.bz2 lua-995a9f71885fc1979a9a23edc3c34e19b36e7653.zip |
no more "Bool" type
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** hash manager for lua | 3 | ** hash manager for lua |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_hash="$Id: hash.c,v 2.25 1995/05/02 18:43:03 roberto Exp $"; | 6 | char *rcs_hash="$Id: hash.c,v 2.26 1995/10/04 14:20:26 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <string.h> | 8 | #include <string.h> |
9 | 9 | ||
@@ -80,7 +80,7 @@ static Word hashindex (Hash *t, Object *ref) /* hash function */ | |||
80 | } | 80 | } |
81 | } | 81 | } |
82 | 82 | ||
83 | Bool lua_equalObj (Object *t1, Object *t2) | 83 | int lua_equalObj (Object *t1, Object *t2) |
84 | { | 84 | { |
85 | if (tag(t1) != tag(t2)) return 0; | 85 | if (tag(t1) != tag(t2)) return 0; |
86 | switch (tag(t1)) | 86 | switch (tag(t1)) |