allow character mode constants
[libfirm] / ir / common / firm_types.h
index e5eeb24..13e0c1e 100644 (file)
@@ -5,7 +5,7 @@
  * Author:      Michael Beck
  * Created:
  * CVS-ID:      $Id$
- * Copyright:   (c) 1998-2006 Universität Karlsruhe
+ * Copyright:   (c) 1998-2007 Universität Karlsruhe
  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
  */
 #ifndef _FIRM_TYPES_H_
@@ -77,9 +77,19 @@ typedef struct ir_graph ir_graph, *ir_graph_ptr;
 typedef struct ir_loop ir_loop, *ir_loop_ptr;
 #endif
 
+#ifndef _IR_REGION_TYPEDEF_
+#define _IR_REGION_TYPEDEF_
+typedef struct ir_region ir_region, *ir_region_ptr;
+#endif
+
+#ifndef _IR_REG_TREE_TYPEDEF_
+#define _IR_REG_TREE_TYPEDEF_
+typedef struct ir_reg_tree ir_reg_tree, *ir_reg_tree_ptr;
+#endif
+
 #ifndef _ENTITY_TYPEDEF_
 #define _ENTITY_TYPEDEF_
-typedef struct entity entity, *ir_entity_ptr;
+typedef struct ir_entity ir_entity, *ir_entity_ptr;
 #endif
 
 #ifndef _COMPOUND_GRAPH_PATH_TYPEDEF_
@@ -87,6 +97,11 @@ typedef struct entity entity, *ir_entity_ptr;
 typedef struct compound_graph_path compound_graph_path, *ir_compound_graph_path_ptr;
 #endif
 
+#ifndef _IR_PHASE_TYPEDEF_
+#define _IR_PHASE_TYPEDEF_
+typedef struct _ir_phase ir_phase, *ir_phase_ptr;
+#endif
+
 #ifndef _IR_EXTBB_TYPEDEF_
 #define _IR_EXTBB_TYPEDEF_
 typedef struct _ir_extblk ir_extblk, *ir_extblk_ptr;
@@ -97,6 +112,11 @@ typedef struct _ir_extblk ir_extblk, *ir_extblk_ptr;
 typedef void irg_walk_func(ir_node *, void *);
 #endif
 
+#ifndef _IRG_REG_WALK_FUNC_TYPEDEF_
+#define _IRG_REG_WALK_FUNC_TYPEDEF_
+typedef void irg_reg_walk_func(ir_region *, void *);
+#endif
+
 #ifndef _SEQNO_T_TYPEDEF_
 #define _SEQNO_T_TYPEDEF_
 typedef struct sn_entry *seqno_t;