Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 68e7569

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎CXX/Python3/cxx_extensions.cxx

Copy file name to clipboardExpand all lines: CXX/Python3/cxx_extensions.cxx
+3-3Lines changed: 3 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.