projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added some thread safty ... much more still needed
[physics.git]
/
src
/
debug.h
diff --git
a/src/debug.h
b/src/debug.h
index
9460055
..
c9c5e7a
100644
(file)
--- a/
src/debug.h
+++ b/
src/debug.h
@@
-19,15
+19,22
@@
#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();
+}
// comment out when not debugging
#define DEBUGGING
// comment out when not debugging
#define DEBUGGING
-// comment out to supress warnings
+// comment out to sup
p
ress warnings
#define WARNINGS
// comment out to prevent FPS and UPS printing
#define WARNINGS
// comment out to prevent FPS and UPS printing