added missing const
[libfirm] / ir / debug / dbginfo.h
index c92da1a..20874bc 100644 (file)
 #include "firm_types.h"
 #include "ident.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @defgroup debug    The Firm interface to debugging support.
  *
@@ -71,12 +75,12 @@ dbg_info *get_entity_dbg_info(entity *ent);
 /**
  * Sets the debug information of a type.
  */
-void set_type_dbg_info(type *tp, dbg_info *db);
+void set_type_dbg_info(ir_type *tp, dbg_info *db);
 
 /**
  * Returns the debug information of a type.
  */
-dbg_info *get_type_dbg_info(type *tp);
+dbg_info *get_type_dbg_info(ir_type *tp);
 
 /**
  * An enumeration indicating the action performed by a transformation.
@@ -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_ */