Include objc/objc.h here instead of in objc/hash.c to get BOOL typedef.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 17 May 1996 12:12:32 +0000 (08:12 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 17 May 1996 12:12:32 +0000 (08:12 -0400)
From-SVN: r11980

gcc/objc/hash.h

index 7a83b0854d14d912a614b9074ef41e13eca4c98f..bddb791c820ca156df9aa6a271e51360353aad09 100644 (file)
@@ -1,5 +1,5 @@
 /* Hash tables for Objective C method dispatch.
-   Copyright (C) 1993, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA.  */
 #define __hash_INCLUDE_GNU
 
 #include <stddef.h>
+#include <objc/objc.h>
 
 /*
  * This data structure is used to hold items
@@ -140,6 +141,9 @@ node_ptr hash_next (cache_ptr cache, node_ptr node);
 
 void *hash_value_for_key (cache_ptr cache, const void *key);
 
+/* Used to determine if the given key exists in the hash table */
+
+BOOL hash_is_key_in_hash (cache_ptr cache, const void *key);
 
 /************************************************