Initial commit

This commit is contained in:
jon
2018-05-13 14:25:02 -05:00
commit f6eaa02ba3
21 changed files with 3382 additions and 0 deletions

8
util.h Normal file
View File

@@ -0,0 +1,8 @@
/* See LICENSE file for copyright and license details. */
#define MAX(A, B) ((A) > (B) ? (A) : (B))
#define MIN(A, B) ((A) < (B) ? (A) : (B))
#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
void die(const char *errstr, ...);
void *ecalloc(size_t, size_t);