From 995a9f71885fc1979a9a23edc3c34e19b36e7653 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 7 Feb 1996 12:13:17 -0200 Subject: [PATCH] no more "Bool" type --- hash.c | 4 ++-- hash.h | 4 ++-- types.h | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/hash.c b/hash.c index d2014293..82047f59 100644 --- a/hash.c +++ b/hash.c @@ -3,7 +3,7 @@ ** hash manager for lua */ -char *rcs_hash="$Id: hash.c,v 2.25 1995/05/02 18:43:03 roberto Exp $"; +char *rcs_hash="$Id: hash.c,v 2.26 1995/10/04 14:20:26 roberto Exp roberto $"; #include @@ -80,7 +80,7 @@ static Word hashindex (Hash *t, Object *ref) /* hash function */ } } -Bool lua_equalObj (Object *t1, Object *t2) +int lua_equalObj (Object *t1, Object *t2) { if (tag(t1) != tag(t2)) return 0; switch (tag(t1)) diff --git a/hash.h b/hash.h index e594a9cd..8ef6ddf1 100644 --- a/hash.h +++ b/hash.h @@ -2,7 +2,7 @@ ** hash.h ** hash manager for lua ** Luiz Henrique de Figueiredo - 17 Aug 90 -** $Id: hash.h,v 2.7 1994/12/20 21:20:36 roberto Exp roberto $ +** $Id: hash.h,v 2.8 1995/01/12 14:19:04 roberto Exp roberto $ */ #ifndef hash_h @@ -26,7 +26,7 @@ typedef struct Hash } Hash; -Bool lua_equalObj (Object *t1, Object *t2); +int lua_equalObj (Object *t1, Object *t2); Hash *lua_createarray (Word nhash); void lua_hashmark (Hash *h); Long lua_hashcollector (void); diff --git a/types.h b/types.h index 2d6cfa36..3719f41d 100644 --- a/types.h +++ b/types.h @@ -1,6 +1,6 @@ /* ** TeCGraf - PUC-Rio -** $Id: types.h,v 1.2 1994/12/27 20:41:47 celes Exp roberto $ +** $Id: types.h,v 1.3 1995/02/06 19:32:43 roberto Exp roberto $ */ #ifndef types_h @@ -12,8 +12,6 @@ #define real float #endif -typedef int Bool; /* boolean values */ - #define Byte lua_Byte /* some systems have Byte as a predefined type */ typedef unsigned char Byte; /* unsigned 8 bits */