~mil/sxmo-svkbd

ref: 4fc0c19ff3055da274ddbb7db40efd1a00839642 sxmo-svkbd/util.h -rw-r--r-- 305 bytes
4fc0c19fMiles Alan Restore original svkbd colorscheme and bump up to use monospace-18 as font 1 year, 4 months 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 *fmt, ...);
void *ecalloc(size_t nmemb, size_t size);