diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-05-17 08:12:32 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-05-17 08:12:32 -0400 |
commit | cc06bcdb37d82132026dc0643cf3a56ab3c6f73e (patch) | |
tree | 3717db47ffd6a3ed58eca7901f8f7cbdf98d3e07 /gcc | |
parent | 168887fa2c3752284cce2df7b7949afd74ea5afc (diff) | |
download | gcc-cc06bcdb37d82132026dc0643cf3a56ab3c6f73e.zip gcc-cc06bcdb37d82132026dc0643cf3a56ab3c6f73e.tar.gz gcc-cc06bcdb37d82132026dc0643cf3a56ab3c6f73e.tar.bz2 |
Include objc/objc.h here instead of in objc/hash.c to get BOOL typedef.
From-SVN: r11980
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/objc/hash.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/objc/hash.h b/gcc/objc/hash.h index 7a83b08..bddb791c8 100644 --- a/gcc/objc/hash.h +++ b/gcc/objc/hash.h @@ -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); /************************************************ |