[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] DEBUG simplification
From: |
Gunnar Farneback |
Subject: |
Re: [gnugo-devel] DEBUG simplification |
Date: |
Wed, 04 Dec 2002 20:39:07 +0100 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode) |
Arend wrote:
> Hmm, it seems to me we could do
> #define DEBUG(level) (!(verbose & level)) ? (void)0 : (void)gprintf
>
> then use
> DEBUG(DEUB_MOVE_REASONS)("%1m: 0.0 - value already counted", pos)
>
> and do away with the variadic macros. Or is this too ugyl?
Yes, it's way too ugly.
/Gunnar