X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fst%2Fexc.h;h=826b270138a6d3d96e3dc351566a4de427e87f8f;hb=184602875611495e608c27263d0a5a8f24078a70;hp=c2cdc84081472ade032d2a80e1ff7e84539457fa;hpb=25a9079a440dca3115aedcc4c22438e187ed9d7d;p=libfirm diff --git a/ir/st/exc.h b/ir/st/exc.h index c2cdc8408..826b27013 100644 --- a/ir/st/exc.h +++ b/ir/st/exc.h @@ -31,6 +31,10 @@ #include +#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_ */