8000 Make CXX work with a Python 3 debug build. · matplotlib/matplotlib@68e7569 · GitHub
[go: up one dir, main page]

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 files
committed
Make CXX work with a Python 3 debug build.
1 parent 9bfc97b commit 68e7569

File tree< 8000 /h2>

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CXX/Python3/cxx_extensions.cxx

Lines changed: 3 additions & 3 deletions
< 629B td data-grid-cell-id="diff-153db51841bceac8ac730ab85e2678bb15e56accdde785016bc822a513b3fa26-444-443-0" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-additionNum-bgColor, var(--diffBlob-addition-bgColor-num));text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative left-side">
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