properly mark symbols in the public API to be exported. This allows us to use -fvisib...
[libfirm] / include / libfirm / pseudo_irg.h
index 1ac8756..59c7277 100644 (file)
 
 #include "firm_types.h"
 
+#include "begin.h"
+
 /** Create a new ir graph to build a pseudo representation of a procedure.
  *
  *  The pseudo representation can only be used for analyses.  It may not be
  *  optimized.  Pseudo graphs are kept in a separate graph list in irprog.
  */
-ir_graph *new_pseudo_ir_graph(ir_entity *ent, int n_loc);
+FIRM_DLL ir_graph *new_pseudo_ir_graph(ir_entity *ent, int n_loc);
 
 /** Returns non-zero ir ir_graph is pseudo graph.
  *  Is irg a pseudo graph for analysis? */
-int      is_pseudo_ir_graph(ir_graph *irg);
+FIRM_DLL int is_pseudo_ir_graph(ir_graph *irg);
 
 /** Returns the number of pseudo graphs in the program. */
-int get_irp_n_pseudo_irgs(void);
+FIRM_DLL int get_irp_n_pseudo_irgs(void);
 
 /** Add a graph as pseudo irg */
-void add_irp_pseudo_irg(ir_graph *irg);
+FIRM_DLL void add_irp_pseudo_irg(ir_graph *irg);
 
 /** Returns the pos'th  pseudo graph in the program. */
-ir_graph *get_irp_pseudo_irg(int pos);
+FIRM_DLL ir_graph *get_irp_pseudo_irg(int pos);
 
 /** If set, get_irp_n_irgs() and get_irp_irg() behave as if all pseudo
     graphs are in the irg list. If not set, get_entity_irg() returns
     NULL if the entity refers to a pseudo irg. */
-void set_visit_pseudo_irgs(int x);
-int  get_visit_pseudo_irgs(void);
+FIRM_DLL void set_visit_pseudo_irgs(int x);
+FIRM_DLL int  get_visit_pseudo_irgs(void);
+
+#include "end.h"
 
 #endif