add typedefs for unsigned types (easier to type!)
This commit is contained in:
parent
2c432a0b1f
commit
863d01fce9
|
@ -10,6 +10,11 @@ const BOOL TRUE = 1;
|
||||||
const BOOL FALSE = 0;
|
const BOOL FALSE = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef unsigned long ulong;
|
||||||
|
typedef unsigned int uint;
|
||||||
|
typedef unsigned short ushort;
|
||||||
|
typedef unsigned char uchar;
|
||||||
|
|
||||||
#ifndef SAFE_RELEASE
|
#ifndef SAFE_RELEASE
|
||||||
#define SAFE_RELEASE(x) if (x) { (x)->Release(); (x) = NULL; }
|
#define SAFE_RELEASE(x) if (x) { (x)->Release(); (x) = NULL; }
|
||||||
#endif
|
#endif
|
||||||
|
|
Reference in a new issue