00001 00015 #ifndef _TYPEDEFS_H_ 00016 #define _TYPEDEFS_H_ 00017 00018 #include "win32.h" 00019 00020 typedef unsigned char byte; 00021 typedef unsigned char uint8; 00022 typedef unsigned short uint16; 00023 typedef unsigned int uint32; 00024 00025 typedef char int8; 00026 typedef short int16; 00027 typedef int int32; 00028 00029 /* 00030 #define MAXUINT8 0xff 00031 #define MAXUINT16 0xffff 00032 #define MAXUINT32 0xffffffff 00033 #define MAXUINT64 0xffffffffffffffff 00034 00035 #define MAXINT8 0x7f 00036 #define MININT8 (-MAXINT8) 00037 #define MAXINT16 0x7fff 00038 #define MININT16 (-MAXINT16) 00039 #define MAXINT32 0x7fffffff 00040 #define MININT32 (-MAXINT32) 00041 #define MAXINT64 0x7fffffffffffffff 00042 #define MININT64 (-MAXINT64) 00043 */ 00044 00045 #endif 00046