projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add strict flag to Conv attributes alloweing to mark those Conv's
[libfirm]
/
ir
/
st
/
exc.h
diff --git
a/ir/st/exc.h
b/ir/st/exc.h
index
c2cdc84
..
826b270
100644
(file)
--- a/
ir/st/exc.h
+++ b/
ir/st/exc.h
@@
-31,6
+31,10
@@
#include <stdbool.h>
#include <stdbool.h>
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
typedef enum {
exc_invalid = 0, /* not yet computed */
exc_normal, /* normal CF */
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;
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*);
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*);
void set_Node_handler (ir_node*, ir_node*);
ir_node* get_Node_handler (ir_node*);
+#ifdef __cplusplus
+}
+#endif
+
# endif /* def _EXC_H_ */
# endif /* def _EXC_H_ */