Rename DEBUG macro to Py_DEBUG

This commit is contained in:
Guido van Rossum 1996-12-30 16:17:54 +00:00
parent a0dc1c4a61
commit 408027ea46
11 changed files with 23 additions and 23 deletions

View file

@ -84,7 +84,7 @@ whose size is determined when the object is allocated.
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
*/
#ifdef DEBUG
#ifdef Py_DEBUG
/* Turn on heavy reference debugging */
#define Py_TRACE_REFS
@ -92,7 +92,7 @@ whose size is determined when the object is allocated.
/* Turn on reference counting */
#define Py_REF_DEBUG
#endif /* DEBUG */
#endif /* Py_DEBUG */
#ifdef Py_TRACE_REFS
#define PyObject_HEAD \