sgf2gtp.pl: Cut at end of principal branch
[pachi.git] / debug.h
blob08598af529bf7f5bdb25f0091adbfcc829c353ca
1 #ifndef ZZGO_DEBUG_H
2 #define ZZGO_DEBUG_H
4 #ifdef DEBUG
5 #define DEBUGL_(l, n) (unlikely((l) > (n)))
6 #else
7 #define DEBUGL_(l, n) (false)
8 #endif
10 extern int debug_level;
12 #define DEBUGL(n) DEBUGL_(debug_level, n)
14 #endif