From f50460057bae2fdd9926ccbbda3da823614e2eb5 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 1 Jun 2005 09:44:17 +0000 Subject: [PATCH] added doxygen comments for pset_insert_pset_ptr() [r5930] --- ir/adt/pset.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ir/adt/pset.h b/ir/adt/pset.h index 4b95fe881..6e06bde14 100644 --- a/ir/adt/pset.h +++ b/ir/adt/pset.h @@ -45,8 +45,6 @@ typedef struct pset pset; #define pset_find_ptr(set,key) pset_find(set, key, HASH_PTR(key)) #define pset_new_ptr(slots) new_pset(pset_default_ptr_cmp, slots) #define pset_new_ptr_default() pset_new_ptr(64) -void pset_insert_pset_ptr(pset *target, pset *src); /* Inserts all elements of src in target. */ - /** The entry of a pset, representing an element pointer in the set and it's meta-information */ typedef struct { @@ -184,6 +182,15 @@ void *pset_next (pset *pset); */ void pset_break (pset *pset); +/** + * Inserts all elements of the pointer set src into + * the set target (union). + * + * @param target the target set, will contain the union + * @param src a set, will not be changed + */ +void pset_insert_pset_ptr(pset *target, pset *src); + #define new_pset(cmp, slots) (PSET_TRACE (new_pset) ((cmp), (slots))) #define pset_find(pset, key, hash) \ _pset_search ((pset), (key), (hash), _pset_find) -- 2.20.1