Rduced the number of files copied for INSTALL
[libfirm] / ir / adt / pset.h
index d51f062..494686c 100644 (file)
@@ -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);