]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] Add `extern "C"` around `PyTraceMalloc_` functions. (GH-127772) (#127815)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Dec 2024 13:07:44 +0000 (14:07 +0100)
committerGitHub <noreply@github.com>
Wed, 11 Dec 2024 13:07:44 +0000 (14:07 +0100)
commit78dfc28ff3594caeff37a3f8c93a590f463fc3fe
tree3562c69f9829ecb657ba1c7bc680b1c0b3c54f67
parentacf05aa5d82f2d96581a6b5625371a44b4bd625b
[3.13] Add `extern "C"` around `PyTraceMalloc_` functions. (GH-127772) (#127815)

Add `extern "C"` around `PyTraceMalloc_` functions. (GH-127772)

Pretty much everything else exported by Python.h has an extern "C"
annotation, yet this header appears to be missing one.
(cherry picked from commit 2cdeb61b57e638ae46a04386330a12abe9cddf2c)

Co-authored-by: Peter Hawkins <hawkinsp@cs.stanford.edu>
Include/cpython/tracemalloc.h