ButterflyMP3
|
00001 00031 #ifndef __TYPES_H__ 00032 #define __TYPES_H__ 00033 00034 00035 #define MAX_U16 65535 00036 #define MAX_S16 32767 00037 00038 #define SBI(x,y) (x |= (1<<y)) 00039 #define CBI(x,y) (x &= ~(1<<y)) 00040 00041 #define BOOL char 00042 00043 #define FALSE 0 00044 #define TRUE (!FALSE) 00045 #define NULL 0 00046 00047 typedef unsigned char BYTE; 00048 typedef unsigned int WORD; 00049 typedef unsigned long DWORD; 00050 00051 typedef unsigned short USHORT; 00052 //typedef unsigned char BOOL; 00053 00054 typedef unsigned char UCHAR; 00055 typedef unsigned int UINT; 00056 typedef unsigned long ULONG; 00057 00058 typedef char CHAR; 00059 typedef int INT; 00060 typedef long LONG; 00061 00062 // alternative types 00063 typedef unsigned char uint8; 00064 typedef unsigned short uint16; 00065 typedef unsigned long uint32; 00066 00067 /* 00068 typedef char S8; 00069 typedef short S16; 00070 typedef long S32; 00071 */ 00072 00073 //#define NULL 0 00074 00075 #endif