646b351cc7
important: - drw_rect: didn't use w and h, change the dwm code accordingly. - drw_text: text is NULL is not allowed, use drw_rect().
9 lines
297 B
C
9 lines
297 B
C
/* 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);
|