From 18a94a2f75417b44551c1e0e02865a9d7632e564 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 24 Apr 2000 07:29:11 +0000 Subject: hashtab.h (hash_pointer): Declare. * 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. From-SVN: r33372 --- include/ChangeLog | 5 +++++ include/hashtab.h | 6 ++++++ 2 files changed, 11 insertions(+) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index 7dd93fb..f17e65d 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2000-04-24 Mark Mitchell + + * hashtab.h (hash_pointer): Declare. + (eq_pointer): Likewise. + 2000-04-23 Mark Mitchell * sort.h: New file. diff --git a/include/hashtab.h b/include/hashtab.h index a516c45..12f830c 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 */ -- cgit v1.1