C-KIT-GUI-GTK 0.62
ut_types.h
Go to the documentation of this file.
1 // franz.reiter@cadcam.co.at
2 //
3 // see also ../ut/ut_cast.h
4 
5 
6 
7 #ifdef _MSC_VER
8 // Mircosoft - MS32
9 #define INT_8 INT8 // char
10 #define INT_16 INT16 // short
11 #define INT_32 INT32 // int INT BOOL LONG32
12 #define INT_64 INT64 // long long
13 #define UINT_8 unsigned char // unsigned char BYTE UINT8
14 #define UINT_16 UINT16 // unsigned short WORD
15 #define UINT_32 UINT32 // unsigned int DWORD UINT ULONG32
16 #define UINT_64 UINT64 // unsigned long long
17 #else
18 // GCC - Linux32
19 #define INT_8 char // char __s8
20 #define INT_16 short // short __s16
21 #define INT_32 __s32 // int
22 #define INT_64 __s64 // long long
23 #define UINT_8 unsigned char // unsigned char __u8
24 #define UINT_16 __u16 // unsigned short
25 #define UINT_32 __u32 // unsigned int
26 #define UINT_64 __u64 // unsigned long long
27 #endif
28 
29 
30 #define INT_8_MAX 255
31 #define INT_16_MAX 65535
32 #define INT_24_MAX 16777215
33 #define INT_32_MAX 4294967295
34 
35 #define FLT_32_MAX 9999999999999.999
36 
37 
38 
39 // EOF