Added C++ Krempel :-)
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 3 Jun 2004 15:06:57 +0000 (15:06 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 3 Jun 2004 15:06:57 +0000 (15:06 +0000)
[r3010]

ir/common/firm.h

index 0e6ffb8..ee7aa40 100644 (file)
 # ifndef _FIRM_H_
 # define _FIRM_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* The representations */
 # include "firm_common.h"/* common type tags. */
 # include "irprog.h"     /* control flow and data of a program */
@@ -114,4 +118,8 @@ void init_firm (default_initialize_local_variable_func_t *func);
  */
 void free_firm (void);
 
+#ifdef __cplusplus
+}
+#endif
+
 # endif /* _FIRM_H_ */