projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added DASSERT
[physics.git]
/
src
/
debug.h
diff --git
a/src/debug.h
b/src/debug.h
index
d639b8e
..
2862cc2
100644
(file)
--- a/
src/debug.h
+++ b/
src/debug.h
@@
-19,10
+19,19
@@
#define DEBUG_H
#include <iostream>
#define DEBUG_H
#include <iostream>
-using std::cerr;
using std::cout;
using std::cout;
+using std::cerr;
using std::endl;
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
// comment out when not debugging
#define DEBUGGING