util.h (299B)
1 #define MAX(A, B) ((A) > (B) ? (A) : (B)) 2 #define MIN(A, B) ((A) < (B) ? (A) : (B)) 3 #define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B)) 4 5 typedef unsigned char uchar; 6 typedef unsigned int uint; 7 typedef unsigned long ulong; 8 9 void die(const char* fmt, ...); 10 void* ecalloc(size_t nmemb, size_t size);