added two functions:
[libfirm] / ir / common / firm_types.h
index 94d7647..1a207b3 100644 (file)
@@ -21,6 +21,11 @@ typedef const struct _ident ident;
 typedef struct ir_node ir_node;
 #endif
 
+#ifndef _IR_OP_TYPEDEF_
+#define _IR_OP_TYPEDEF_
+typedef struct ir_op ir_op;
+#endif
+
 #ifndef _IR_MODE_TYPEDEF_
 #define _IR_MODE_TYPEDEF_
 typedef struct ir_mode ir_mode;
@@ -43,7 +48,12 @@ typedef struct tarval tarval;
 
 #ifndef _TYPE_TYPEDEF_
 #define _TYPE_TYPEDEF_
-typedef struct type type;
+typedef struct ir_type type;
+#endif
+
+#ifndef _IR_TYPE_TYPEDEF_
+#define _IR_TYPE_TYPEDEF_
+typedef struct ir_type ir_type;
 #endif
 
 #ifndef _IR_GRAPH_TYPEDEF_
@@ -51,6 +61,11 @@ typedef struct type type;
 typedef struct ir_graph ir_graph;
 #endif
 
+#ifndef _IR_LOOP_TYPEDEF_
+#define _IR_LOOP_TYPEDEF_
+typedef struct ir_loop ir_loop;
+#endif
+
 #ifndef _ENTITY_TYPEDEF_
 #define _ENTITY_TYPEDEF_
 typedef struct entity entity;