2012-12-08 10:13:01 +01:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
|
|
|
|
#define MAX(A, B) ((A) > (B) ? (A) : (B))
|
|
|
|
#define MIN(A, B) ((A) < (B) ? (A) : (B))
|
2015-03-06 05:26:11 +01:00
|
|
|
#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
|
2012-12-08 10:13:01 +01:00
|
|
|
|
|
|
|
void die(const char *errstr, ...);
|
2015-10-20 23:34:49 +02:00
|
|
|
void *ecalloc(size_t, size_t);
|