summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-02-07 12:13:17 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-02-07 12:13:17 -0200
commit995a9f71885fc1979a9a23edc3c34e19b36e7653 (patch)
tree9fcf09085f4fc5f68a68118c4002b059c0a4e61d /hash.c
parenta0ef046ef16e6bbf99fbbe594638593089253483 (diff)
downloadlua-995a9f71885fc1979a9a23edc3c34e19b36e7653.tar.gz
lua-995a9f71885fc1979a9a23edc3c34e19b36e7653.tar.bz2
lua-995a9f71885fc1979a9a23edc3c34e19b36e7653.zip
no more "Bool" type
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index d2014293..82047f59 100644
--- a/hash.c
+++ b/hash.c
@@ -3,7 +3,7 @@
3** hash manager for lua 3** hash manager for lua
4*/ 4*/
5 5
6char *rcs_hash="$Id: hash.c,v 2.25 1995/05/02 18:43:03 roberto Exp $"; 6char *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
83Bool lua_equalObj (Object *t1, Object *t2) 83int 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))