projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use submodule for libfirm binding
[cparser]
/
adt
/
hashset.c
diff --git
a/adt/hashset.c
b/adt/hashset.c
index
415aaab
..
b1ed59b
100644
(file)
--- a/
adt/hashset.c
+++ b/
adt/hashset.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
9
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-37,7
+37,7
@@
* <li><b>Hash(hashset,key)</b> calculates the hash value for a given key</li>
* </ul>
*
* <li><b>Hash(hashset,key)</b> calculates the hash value for a given key</li>
* </ul>
*
- * Note that by default it is assumed that the data values themsel
f
es are used
+ * Note that by default it is assumed that the data values themsel
v
es are used
* as keys. However you can change that with additional defines:
*
* <ul>
* as keys. However you can change that with additional defines:
*
* <ul>
@@
-84,7
+84,7
@@
#ifdef DO_REHASH
#define HashSetEntry ValueType
#ifdef DO_REHASH
#define HashSetEntry ValueType
-#define EntrySetHash(entry,new_hash)
+#define EntrySetHash(entry,new_hash)
((void)0)
#define EntryGetHash(self,entry) Hash(self, GetKey(entry))
#define EntryGetValue(entry) (entry)
#else /* ! DO_REHASH */
#define EntryGetHash(self,entry) Hash(self, GetKey(entry))
#define EntryGetValue(entry) (entry)
#else /* ! DO_REHASH */