]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Add `extern "C"` around `PyTraceMalloc_` functions. (#127772) (#127817)
authorVictor Stinner <vstinner@python.org>
Wed, 11 Dec 2024 13:08:23 +0000 (14:08 +0100)
committerGitHub <noreply@github.com>
Wed, 11 Dec 2024 13:08:23 +0000 (14:08 +0100)
commit65bca19db54eb7650b1c2a313ad4546fe6ebd105
treee718b3cd8eb80e608bd1e15cf3ef21dd8d67e278
parent0964f9f1847bcbe90345eeafd65813d06db4ba3b
[3.12] Add `extern "C"` around `PyTraceMalloc_` functions. (#127772) (#127817)

Add `extern "C"` around `PyTraceMalloc_` functions. (#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/tracemalloc.h