continued with draw.c abstraction, also started util.{h,c} implementation, that will be used by draw.c as well

This commit is contained in:
Anselm R Garbe
2012-12-08 10:13:01 +01:00
parent c0ba635c50
commit f21d46ea7d
6 changed files with 80 additions and 29 deletions

6
util.h Normal file
View File

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