Skip to content

Commit 68e7569

Browse files
committed
Make CXX work with a Python 3 debug build.
1 parent 9bfc97b commit 68e7569

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CXX/Python3/cxx_extensions.cxx

+3-3
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,10 @@ PythonType::PythonType( size_t basic_size, int itemsize, const char *default_nam
440440
table->tp_version_tag = 0;
441441

442442
#ifdef COUNT_ALLOCS
443-
table->tp_alloc = 0;
444-
table->tp_free = 0;
443+
table->tp_allocs = 0;
444+
table->tp_frees = 0;
445445
table->tp_maxalloc = 0;
446-
table->tp_orev = 0;
446+
table->tp_prev = 0;
447447
table->tp_next = 0;
448448
#endif
449449
}

0 commit comments

Comments
 (0)