rename type entity into ir_entity
[libfirm] / ir / adt / eset.h
index 430117a..14a6eff 100644 (file)
@@ -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_ */