add typedefs for unsigned types (easier to type!)

This commit is contained in:
Gered 2013-04-02 16:25:04 -04:00
parent 2c432a0b1f
commit 863d01fce9

View file

@ -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