Arrays also degenerate in initializers, _except_ for the special
[smatch.git] / target.h
blobb68c70402a9692abd4a65a482eb49bc7474613b8
1 #ifndef TARGET_H
2 #define TARGET_H
4 #define size_t_ctype (&ulong_ctype)
5 #define ssize_t_ctype (&long_ctype)
7 /*
8 * Integer data types
9 */
10 #define BITS_IN_CHAR 8
11 #define BITS_IN_SHORT 16
12 #define BITS_IN_INT 32
13 #define BITS_IN_LONG 32
14 #define BITS_IN_LONGLONG 64
16 #define MAX_INT_ALIGNMENT 4
19 * Floating point data types
21 #define BITS_IN_FLOAT 32
22 #define BITS_IN_DOUBLE 64
23 #define BITS_IN_LONGDOUBLE 80
25 #define MAX_FP_ALIGNMENT 8
28 * Pointer data type
30 #define BITS_IN_POINTER 32
31 #define POINTER_ALIGNMENT 4
34 * Enum data types
36 #define BITS_IN_ENUM 32
37 #define ENUM_ALIGNMENT 4
39 #endif