updated for new hooks
[libfirm] / ir / st / exc.h
index c2cdc84..826b270 100644 (file)
 
 #include <stdbool.h>
 
+#ifdef __cplusplus
+       extern "C" {
+#endif
+
 typedef enum {
   exc_invalid = 0,                                     /* not yet computed */
   exc_normal,                                  /* normal CF */
@@ -47,6 +51,8 @@ typedef enum {
   exc_max                                              /* maximum value of enum for 'bounds checking' */
 } exc_t;
 
+
+
 const char *exc_to_string (exc_t);
 
 bool is_handler_entry (ir_graph*, ir_node*);
@@ -67,4 +73,8 @@ ir_node* get_Block_handler (ir_node*);
 void     set_Node_handler  (ir_node*, ir_node*);
 ir_node* get_Node_handler  (ir_node*);
 
+#ifdef __cplusplus
+}
+#endif
+
 # endif /* def _EXC_H_ */