mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
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().
8 lines
297 B
C
8 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);
|