~metalune/dmenu

ref: 120e8401074254d39be916ad83bafda9ef25e6a9 dmenu/util.h -rw-r--r-- 297 bytes
120e8401 — Quentin Rameau Add config option for word delimiters 6 years ago
                                                                                
1
2
3
4
5
6
7
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);