absence_thelab

view src/common/typedefs.h @ 1:4d5933c261c3

todo and .hgignore
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 23 Oct 2014 02:18:43 +0300
parents
children
line source
1 #ifndef _TYPEDEFS_H_
2 #define _TYPEDEFS_H_
4 typedef char int8;
5 typedef short int16;
6 typedef long int32;
8 typedef unsigned char uint8;
9 typedef unsigned short uint16;
10 typedef unsigned long uint32;
12 #ifdef _MSC_VER
13 typedef __int64 int64;
14 typedef unsigned __int64 uint64;
15 #else
16 typedef unsigned long long uint64;
17 typedef long long int64;
18 #endif // _MSC_VER
20 typedef uint8 BYTE;
21 typedef uint16 WORD;
22 typedef uint32 DWORD;
24 typedef uint8 byte;
25 typedef uint16 word;
26 typedef uint32 dword;
27 typedef uint64 qword;
29 // Define NULL pointer value
30 #ifndef NULL
31 #ifdef __cplusplus
32 #define NULL 0
33 #else
34 #define NULL ((void *)0)
35 #endif //__cplusplus
36 #endif //NULL
38 #endif //_TYPEDEFS_H_