parent
7adadaf491
commit
1076d3a300
17 changed files with 111 additions and 342 deletions
1
util.h
1
util.h
|
@ -7,6 +7,7 @@
|
|||
#define MIN(A, B) ((A) < (B) ? (A) : (B))
|
||||
#endif
|
||||
#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
|
||||
#define LENGTH(X) (sizeof (X) / sizeof (X)[0])
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define DEBUG(...) fprintf(stderr, __VA_ARGS__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue