projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
properly mark symbols in the public API to be exported. This allows us to use -fvisib...
[libfirm]
/
include
/
libfirm
/
adt
/
pmap.h
diff --git
a/include/libfirm/adt/pmap.h
b/include/libfirm/adt/pmap.h
index
053db91
..
3392d7f
100644
(file)
--- a/
include/libfirm/adt/pmap.h
+++ b/
include/libfirm/adt/pmap.h
@@
-27,6
+27,8
@@
#ifndef FIRM_ADT_PMAP_H
#define FIRM_ADT_PMAP_H
#ifndef FIRM_ADT_PMAP_H
#define FIRM_ADT_PMAP_H
+#include "../begin.h"
+
/** A map which maps addresses to addresses. */
typedef struct pmap pmap;
/** A map which maps addresses to addresses. */
typedef struct pmap pmap;
@@
-75,7
+77,7
@@
pmap_entry *pmap_first(pmap *map);
*/
pmap_entry *pmap_next(pmap *);
*/
pmap_entry *pmap_next(pmap *);
-#define
pmap_foreach
(pmap, curr) \
+#define
foreach_pmap
(pmap, curr) \
for (curr = pmap_first(pmap); curr; curr = pmap_next(pmap))
/** Breaks an iteration.
for (curr = pmap_first(pmap); curr; curr = pmap_next(pmap))
/** Breaks an iteration.
@@
-83,4
+85,6
@@
pmap_entry *pmap_next(pmap *);
*/
void pmap_break(pmap *map);
*/
void pmap_break(pmap *map);
+#include "../end.h"
+
#endif
#endif