blob: f70b22fb5297594c58f1e25521bd01ec6f8f573c [file] [log] [blame]
#pragma once
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef unsigned long size_t;
typedef _Bool bool;
enum
{
false = 0,
true,
};
#define NULL 0
#define MIN(a, b) ((a)>(b)?(b):(a))
#define MAX(a, b) ((a)>(b)?(a):(b))
// Coerce into 1 or 0
#define BOOL(a) (!(!(a)))