repo.or.cz
/
pachi
/
json.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix the 6ec3ca4 fix: a late slave didn't get correct komi.
[pachi/json.git]
/
debug.h
blob
08598af529bf7f5bdb25f0091adbfcc829c353ca
1
#ifndef ZZGO_DEBUG_H
2
#define ZZGO_DEBUG_H
3
4
#ifdef DEBUG
5
#define DEBUGL_(l, n) (unlikely((l) > (n)))
6
#else
7
#define DEBUGL_(l, n) (false)
8
#endif
9
10
extern
int
debug_level
;
11
12
#define DEBUGL(n) DEBUGL_(debug_level, n)
13
14
#endif