Commit cc06bcdb by Richard Kenner

Include objc/objc.h here instead of in objc/hash.c to get BOOL typedef.

From-SVN: r11980
parent 168887fa
/* Hash tables for Objective C method dispatch. /* 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. This file is part of GNU CC.
...@@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */
#define __hash_INCLUDE_GNU #define __hash_INCLUDE_GNU
#include <stddef.h> #include <stddef.h>
#include <objc/objc.h>
/* /*
* This data structure is used to hold items * This data structure is used to hold items
...@@ -140,6 +141,9 @@ node_ptr hash_next (cache_ptr cache, node_ptr node); ...@@ -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); 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);
/************************************************ /************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment