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
1fb0131
..
c9c5e7a
100644
(file)
--- a/
src/debug.h
+++ b/
src/debug.h
@@
-18,8
+18,19
@@
#ifndef DEBUG_H
#define DEBUG_H
#ifndef DEBUG_H
#define DEBUG_H
+#include <iostream>
+using std::cout;
+using std::cerr;
+using std::endl;
+
void DPF(int level, const char* pstr);
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
@@
-27,7
+38,7
@@
void DPF(int level, const char* pstr);
#define WARNINGS
// comment out to prevent FPS and UPS printing
#define WARNINGS
// comment out to prevent FPS and UPS printing
-
//
#define FPSUPS
+#define FPSUPS
#endif // DEBUG_H
#endif // DEBUG_H