]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.13
authorfred <fred>
Sun, 1 Dec 1996 20:29:38 +0000 (20:29 +0000)
committerfred <fred>
Sun, 1 Dec 1996 20:29:38 +0000 (20:29 +0000)
hdr/debug.hh

index fb3a07059392048105261d69eae1ae65da4d1410..e86fe2247d352800823bd9ecc5a2b034727c86dd 100644 (file)
@@ -3,9 +3,10 @@
 #include <assert.h>
 #include <iostream.h>
 #include "dstream.hh"
+#include "real.hh"
 
 void error(String s);          // errors
-
+void error_t(String s, Real when);
 // warnings
 void warning(String s);
 #define WARN warnout << "warning: "<<__FUNCTION__ << "(): "
@@ -20,9 +21,10 @@ extern Dstream monitor; // monitor
 #ifdef NPRINT
 #define mtor if (0) monitor    // clever hack 
 #else
-#define mtor monitor.identify_as(__PRETTY_FUNCTION__)
+#define mtor if (check_debug) monitor.identify_as(__PRETTY_FUNCTION__)
 #endif
 
+extern bool check_debug;
 
 
 #endif