extern "C" added
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 30 Dec 2005 15:25:46 +0000 (15:25 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 30 Dec 2005 15:25:46 +0000 (15:25 +0000)
[r7169]

ir/debug/dbginfo.h

index c92da1a..cb8fa17 100644 (file)
 #include "firm_types.h"
 #include "ident.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @defgroup debug    The Firm interface to debugging support.
  *
@@ -203,4 +207,8 @@ void default_dbg_info_merge_sets(ir_node **new_nodes, int n_new_nodes,
                             ir_node **old_nodes, int n_old_nodes,
                             dbg_action info);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _DBGINFO_H_ */