X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Feset.h;h=14a6effabb5fd64785d9fbc32e35f3efb5aeaaaa;hb=d0d85962ef52c14950db90e5981a7bea36023ab3;hp=430117ab2c1429dd9467091e57b0bffbbdc41e7f;hpb=64d38975c523c9cfe4a3890af23e9192f557e293;p=libfirm diff --git a/ir/adt/eset.h b/ir/adt/eset.h index 430117ab2..14a6effab 100644 --- a/ir/adt/eset.h +++ b/ir/adt/eset.h @@ -30,6 +30,9 @@ eset *eset_copy(eset *source); /** Deletes a set. */ void eset_destroy(eset *s); +/** Returns the number of elements in the set. */ +int eset_count(eset *s); + /** Inserts an address into the set. */ void eset_insert(eset *s, void *p); @@ -52,7 +55,7 @@ void *eset_first(eset *s); */ void *eset_next(eset *s); -/** Inserts all elements of source into target (union). Did NOT work if NULL is contained in source. */ +/** Inserts all elements of source into target (union). Does NOT work if NULL is contained in source. */ void eset_insert_all(eset *target, eset *source); #endif /* _ESET_H_ */