repo.or.cz
/
pachi
/
peepo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
board_try_random_move(): likely/unlikely
[pachi/peepo.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