diff options
author | Guido van Rossum <guido@python.org> | 1995-03-29 16:57:48 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-29 16:57:48 (GMT) |
commit | 6f9e433ab3520d06fd3bc0c97a6ba49c0d67816d (patch) | |
tree | 0d7aa77f255a4660ce7792da77f84d7441fbafaa /Objects | |
parent | 07432c0ef60635739151160f626d222bed45cf2c (diff) | |
download | cpython-6f9e433ab3520d06fd3bc0c97a6ba49c0d67816d.zip cpython-6f9e433ab3520d06fd3bc0c97a6ba49c0d67816d.tar.gz cpython-6f9e433ab3520d06fd3bc0c97a6ba49c0d67816d.tar.bz2 |
fix dusty debugging macros
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 2 | ||||
-rw-r--r-- | Objects/stringobject.c | 2 | ||||
-rw-r--r-- | Objects/tupleobject.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Objects/object.c b/Objects/object.c index d93d28b..fc8d525 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -26,7 +26,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "allobjects.h" -#ifdef REF_DEBUG +#if defined( Py_TRACE_REFS ) || defined( Py_REF_DEBUG ) long ref_total; #endif diff --git a/Objects/stringobject.c b/Objects/stringobject.c index b09fc25..54f161f 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -508,7 +508,7 @@ resizestring(pv, newsize) } /* XXX UNREF/NEWREF interface should be more symmetrical */ #ifdef REF_DEBUG - --ref_total; + --_Py_RefTotal; #endif UNREF(v); *pv = (object *) diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 69c4f95..7fae264 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -419,7 +419,7 @@ resizetuple(pv, newsize, last_is_sticky) return 0; /* XXX UNREF/NEWREF interface should be more symmetrical */ #ifdef REF_DEBUG - --ref_total; + --_Py_RefTotal; #endif UNREF(v); if (last_is_sticky && sizediff < 0) { |