preprocessor directives added for cpluscplus compatibility
authorHannes Jakschitsch <hannes@ipd.info.uni-karlsruhe.de>
Thu, 15 Jul 2004 14:04:38 +0000 (14:04 +0000)
committerHannes Jakschitsch <hannes@ipd.info.uni-karlsruhe.de>
Thu, 15 Jul 2004 14:04:38 +0000 (14:04 +0000)
[r3467]

ir/common/firmwalk.h

index 56ce822..3837849 100644 (file)
 #include "irgraph.h"
 #include "typewalk.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 /** Returns the link of a firm node.
  *  Possible firm structures are: entity, type, ir_graph, ir_node and
  *  ir_mode. Otherwise this function has no effect
@@ -205,4 +210,9 @@ void firm_walk(firm_walk_interface *wif);
 /** Finalize the walker and frees all stored data for dumping */
 void firm_walk_finalize(void);
 
+#ifdef __cplusplus
+}
+#endif
+
+
 #endif /* _FIRM_WALK_H_ */