lilypond-0.0.4
[lilypond.git] / debug.hh
blobca805df011aca50d80279d6d138f9a0fec355989
1 #ifndef DEBUG_HH
2 #define DEBUG_HH
3 #include <assert.h>
4 #include <iostream.h>
5 #include "dstream.hh"
9 #define WARN warnout << "warning: "<<__FUNCTION__ << "(): "
10 extern ostream &warnout ;
11 extern ostream *mlog;
12 extern Dstream monitor; // monitor
14 #define mtor monitor.identify_as(__PRETTY_FUNCTION__)
16 void error(String s);
17 void warning(String s);
19 #endif