added DASSERT
[physics.git] / src / debug.h
index d639b8e..2862cc2 100644 (file)
 #define DEBUG_H
 
 #include <iostream>
-using std::cerr;
 using std::cout;
+using std::cerr;
 using std::endl;
 
+void DPF(int level, const char* pstr);
+
+namespace debug
+{
+    void init();
+    void clean();
+}
+
+void DASSERT(bool fBreak);
 
 // comment out when not debugging
 #define DEBUGGING