fix dusty debugging macros

This commit is contained in:
Guido van Rossum 1995-03-29 16:57:48 +00:00
parent 07432c0ef6
commit 6f9e433ab3
6 changed files with 11 additions and 11 deletions

View file

@ -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

View file

@ -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 *)

View file

@ -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) {