]> git.buserror.net Git - polintos/scott/priv.git/blob - idlcomp/targets.h
Initial checkin from Perforce.
[polintos/scott/priv.git] / idlcomp / targets.h
1 /* targets.h -- target architecture definitions
2  *
3  * Written by Scott Wood <scott@buserror.net>
4  */
5
6 #ifndef IDLC_TARGETS_H
7 #define IDLC_TARGETS_H
8
9 enum {
10         target_none, target_x86, target_x64, target_ppc
11 };
12
13 struct Target {
14         const char *name;
15         int pointer_size;
16         bool big_endian;
17         bool bitfield_big_endian;
18 };
19
20 #define max_target 3
21
22 extern Target targets[max_target + 1];
23 extern Target *target;
24
25 #endif