From 68e7569db720b0a3116ea928203655531565edf7 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 12 Jun 2012 12:39:04 -0400 Subject: [PATCH] Make CXX work with a Python 3 debug build. --- CXX/Python3/cxx_extensions.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CXX/Python3/cxx_extensions.cxx b/CXX/Python3/cxx_extensions.cxx index b6e3aa083d0b..59874ad95576 100644 --- a/CXX/Python3/cxx_extensions.cxx +++ b/CXX/Python3/cxx_extensions.cxx @@ -440,10 +440,10 @@ PythonType::PythonType( size_t basic_size, int itemsize, const char *default_nam table->tp_version_tag = 0; #ifdef COUNT_ALLOCS - table->tp_alloc = 0; - table->tp_free = 0; + table->tp_allocs = 0; + table->tp_frees = 0; table->tp_maxalloc = 0; - table->tp_orev = 0; + table->tp_prev = 0; table->tp_next = 0; #endif }