Add a wrapper macro for pmap_get(), which has the return type as additional parameter.
[libfirm] / include / libfirm / adt / hashset.h
index a03a810..2d95a36 100644 (file)
@@ -22,7 +22,6 @@
  * @date    16.03.2007
  * @brief   Generic hashset functions
  * @author  Matthias Braun
- * @version $Id$
  *
  * You have to specialize this header by defining HashSet, HashSetIterator and
  * ValueType
@@ -56,6 +55,7 @@ struct HashSet {
 #endif
 };
 
+#ifndef NO_ITERATOR
 struct HashSetIterator {
        HashSetEntry *current_bucket;
        HashSetEntry *end;
@@ -64,6 +64,7 @@ struct HashSetIterator {
        unsigned entries_version;
 #endif
 };
+#endif
 
 #ifdef DO_REHASH
 #undef HashSetEntry