]> git.buserror.net Git - polintos/scott/priv.git/blob - idlcomp/targets.h
Add first draft of marshalling spec
[polintos/scott/priv.git] / idlcomp / targets.h
1 // Target architecture definitions
2
3 #ifndef IDLC_TARGETS_H
4 #define IDLC_TARGETS_H
5
6 enum {
7         target_none, target_x86, target_x64, target_ppc
8 };
9
10 struct Target {
11         const char *name;
12         int pointer_size;
13         bool big_endian;
14         bool bitfield_big_endian;
15 };
16
17 #define max_target 3
18
19 extern Target targets[max_target + 1];
20 extern Target *target;
21
22 #endif