cleaned up the order of ifdef's
[libfirm] / ir / common / firm_types.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/common/firm_types.c
4  * Purpose:     Definition of opaque firm types
5  * Author:      Michael Beck
6  * Created:
7  * CVS-ID:      $Id$
8  * Copyright:   (c) 1998-2005 Universität Karlsruhe
9  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
10  */
11 #ifndef _FIRM_TYPES_H_
12 #define _FIRM_TYPES_H_
13
14 #ifndef _IDENT_TYPEDEF_
15 #define _IDENT_TYPEDEF_
16 typedef const struct _ident ident;
17 #endif
18
19 #ifndef _IR_NODE_TYPEDEF_
20 #define _IR_NODE_TYPEDEF_
21 typedef struct ir_node ir_node;
22 #endif
23
24 #ifndef _IR_MODE_TYPEDEF_
25 #define _IR_MODE_TYPEDEF_
26 typedef struct ir_mode ir_mode;
27 #endif
28
29 #ifndef _IR_EDGE_TYPEDEF_
30 #define _IR_EDGE_TYPEDEF_
31 typedef struct _ir_edge_t ir_edge_t;
32 #endif
33
34 #ifndef _IR_BLOCK_EDGE_TYPEDEF_
35 #define _IR_BLOCK_EDGE_TYPEDEF_
36 typedef struct _ir_block_edge_t ir_block_edge_t;
37 #endif
38
39 #ifndef _TARVAL_TYPEDEF_
40 #define _TARVAL_TYPEDEF_
41 typedef struct tarval tarval;
42 #endif
43
44 #ifndef _TYPE_TYPEDEF_
45 #define _TYPE_TYPEDEF_
46 typedef struct ir_type type;
47 #endif
48
49 #ifndef _IR_TYPE_TYPEDEF_
50 #define _IR_TYPE_TYPEDEF_
51 typedef struct ir_type ir_type;
52 #endif
53
54 #ifndef _IR_GRAPH_TYPEDEF_
55 #define _IR_GRAPH_TYPEDEF_
56 typedef struct ir_graph ir_graph;
57 #endif
58
59 #ifndef _IR_LOOP_TYPEDEF_
60 #define _IR_LOOP_TYPEDEF_
61 typedef struct ir_loop ir_loop;
62 #endif
63
64 #ifndef _ENTITY_TYPEDEF_
65 #define _ENTITY_TYPEDEF_
66 typedef struct entity entity;
67 #endif
68
69 #ifndef _COMPOUND_GRAPH_PATH_TYPEDEF_
70 #define _COMPOUND_GRAPH_PATH_TYPEDEF_
71 typedef struct compound_graph_path compound_graph_path;
72 #endif
73
74 #ifndef _IR_EXTBB_TYPEDEF_
75 #define _IR_EXTBB_TYPEDEF_
76 typedef struct _ir_extblk ir_extblk;
77 #endif
78
79 #ifndef _IRG_WALK_FUNC_TYPEDEF_
80 #define _IRG_WALK_FUNC_TYPEDEF_
81 typedef void irg_walk_func(ir_node *, void *);
82 #endif
83
84 #ifndef _SEQNO_T_TYPEDEF_
85 #define _SEQNO_T_TYPEDEF_
86 typedef struct sn_entry *seqno_t;
87 #endif
88
89 #endif /* _FIRM_TYPES_H_ */