]> git.donarmstrong.com Git - lilypond.git/blob - flower/include/flower-debug.hh
26bff024b2b234ab7245aae14f18d9f565da5775
[lilypond.git] / flower / include / flower-debug.hh
1 /*
2   flower-debug.hh -- declare global constants relating to debug dumps
3
4   source file of the Flower Library
5
6   (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef FLOWER_DEBUG_HH
11 #define FLOWER_DEBUG_HH
12
13 #include "dstream.hh"
14
15 extern Dstream *flower_dstream;
16
17 #ifdef NPRINT
18 #define DEBUG_OUT if (0) *flower_dstream
19 #else
20 #define DEBUG_OUT if (flower_dstream) \
21         flower_dstream->identify_as (__PRETTY_FUNCTION__)
22 #endif
23
24 void set_debug (Dstream *ds);
25
26 #endif // FLOWER_DEBUG_HH