2012-12-08 06:13:01 -03: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 01:26:11 -03:00
|
|
|
#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
|
2012-12-08 06:13:01 -03:00
|
|
|
|
|
|
|
void die(const char *errstr, ...);
|
2015-10-20 18:34:49 -03:00
|
|
|
void *ecalloc(size_t, size_t);
|