Browse Source

Debug Mode for python witj _DEBUG flag

Roger Hughston 20 years ago
parent
commit
5bbbeff865
1 changed files with 4 additions and 0 deletions
  1. 4 0
      dtool/src/interrogatedb/py_panda.h

+ 4 - 0
dtool/src/interrogatedb/py_panda.h

@@ -32,6 +32,10 @@
 #include <map>
 #include <map>
 #include <string>
 #include <string>
 
 
+#ifdef _DEBUG
+#define  Py_DEBUG
+#endif
+
 #ifndef NO_RUNTIME_TYPES
 #ifndef NO_RUNTIME_TYPES
 
 
 #include "dtoolbase.h"
 #include "dtoolbase.h"