summaryrefslogtreecommitdiff
path: root/include/hashtab.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-24 07:29:11 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-24 07:29:11 +0000
commitc9dfb8ae562d44693af93825c4224858bf4c55b3 (patch)
tree488af2866d01b416ccf20f74818935ec34822045 /include/hashtab.h
parent2e841b845ffb8a8cd5fa37d371136b0f4b9b9625 (diff)
downloadgcc-c9dfb8ae562d44693af93825c4224858bf4c55b3.tar.gz
* hashtab.h (hash_pointer): Declare.
(eq_pointer): Likewise. * hashtab.c (hash_pointer): New function. (eq_pointer): Likewise. (htab_hash_pointer): New variable. (htab_eq_pointer): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/hashtab.h')
-rw-r--r--include/hashtab.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hashtab.h b/include/hashtab.h
index a516c45f52d..12f830ca5ec 100644
--- a/include/hashtab.h
+++ b/include/hashtab.h
@@ -129,6 +129,12 @@ extern size_t htab_size PARAMS ((htab_t));
extern size_t htab_elements PARAMS ((htab_t));
extern double htab_collisions PARAMS ((htab_t));
+/* A hash function for pointers. */
+extern htab_hash htab_hash_pointer;
+
+/* An equality function for pointers. */
+extern htab_eq htab_eq_pointer;
+
#ifdef __cplusplus
}
#endif /* __cplusplus */