more libc mapper functions added
[libfirm] / include / libfirm / irgraph.h
index 0113743..2ed8968 100644 (file)
@@ -125,10 +125,14 @@ extern ir_graph *current_ir_graph;
 ir_graph *get_current_ir_graph(void);
 void      set_current_ir_graph(ir_graph *graph);
 
+#ifdef INTERPROCEDURAL_VIEW
 /** This flag indicate the current view. The behavior of some methods
  * (get_irn_*, set_irn_*) is influenced by this flag. */
 int get_interprocedural_view(void);
 void set_interprocedural_view(int state);
+#else
+#define get_interprocedural_view()  0
+#endif
 
 /**
  * Create a new ir graph to build ir for a procedure.
@@ -454,6 +458,8 @@ void set_irg_inline_property(ir_graph *irg, irg_inline_property s);
  * The properties are automatically inherited from the method type
  * if they were not set using set_irg_additional_properties() or
  * set_irg_additional_property().
+ *
+ * @return a bitset of mtp_additional_property values
  */
 unsigned get_irg_additional_properties(const ir_graph *irg);