From 4ddf9ccc68ce4873a5d7a8f007a6953a93793d0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Thu, 28 Sep 2000 12:44:02 +0000 Subject: [PATCH] *** empty log message *** [r72] --- ir/adt/pset.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ir/adt/pset.h b/ir/adt/pset.h index d51f062b3..494686c85 100644 --- a/ir/adt/pset.h +++ b/ir/adt/pset.h @@ -16,9 +16,15 @@ typedef struct { typedef int (*pset_cmp_fun) (const void *, const void *); +/* Makes new hash table. Needs function to compare two nodes to + resolve hash value collision and the size. */ pset *new_pset (pset_cmp_fun, int slots); +/* Deletes hash table */ void del_pset (pset *); +/* Returns the pointer associated with pointer key. Hash is + the hash value computed from key. Returns Null if key not + in hash table. */ void *pset_find (pset *, const void *key, unsigned hash); void *pset_insert (pset *, const void *key, unsigned hash); pset_entry *pset_hinsert (pset *, const void *key, unsigned hash); -- 2.20.1