projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a wrapper macro for pmap_get(), which has the return type as additional parameter.
[libfirm]
/
include
/
libfirm
/
adt
/
hashset.h
diff --git
a/include/libfirm/adt/hashset.h
b/include/libfirm/adt/hashset.h
index
a03a810
..
2d95a36
100644
(file)
--- a/
include/libfirm/adt/hashset.h
+++ b/
include/libfirm/adt/hashset.h
@@
-22,7
+22,6
@@
* @date 16.03.2007
* @brief Generic hashset functions
* @author Matthias Braun
* @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
*
* You have to specialize this header by defining HashSet, HashSetIterator and
* ValueType
@@
-56,6
+55,7
@@
struct HashSet {
#endif
};
#endif
};
+#ifndef NO_ITERATOR
struct HashSetIterator {
HashSetEntry *current_bucket;
HashSetEntry *end;
struct HashSetIterator {
HashSetEntry *current_bucket;
HashSetEntry *end;
@@
-64,6
+64,7
@@
struct HashSetIterator {
unsigned entries_version;
#endif
};
unsigned entries_version;
#endif
};
+#endif
#ifdef DO_REHASH
#undef HashSetEntry
#ifdef DO_REHASH
#undef HashSetEntry