aboutsummaryrefslogtreecommitdiff
path: root/fns.h
blob: ab3d3d70af343d6ffb2d13842d62a50088c21aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#define HZ2MS(hz)	(1000/(hz))

/*
 * alloc
 */
void *emalloc(ulong);
void *erealloc(void*, ulong);
Image *eallocimage(Display*, Rectangle, ulong, int, ulong);

/*
 * util
 */
char *cell2coords(Point2);
Point2 coords2cell(char*);