Primitive Types

// 8-bit unsigned value.
typedef unsigned char byte;

// 16-bit unsigned value.
typedef unsigned short ushort;

// 32-bit unsigned value.
typedef unsigned int uint;

// 64-bit signed value.
typedef long long slong;

// 64-bit unsigned value.
typedef unsigned long long ulong;

// Wide character.
typedef wchar_t wchar;

// Const pointer to wide character string.
typedef const wchar *wcstr;

// Const void pointer.
typedef const void *cptr;

// Entity key.
typedef struct EntKey { uint i, v; } EntKey;