]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35053: Add Include/tracemalloc.h (GH-10091)
authorVictor Stinner <vstinner@redhat.com>
Thu, 25 Oct 2018 13:54:13 +0000 (15:54 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Oct 2018 13:54:13 +0000 (15:54 +0200)
commit6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3
tree69ba9fb9c2291b19241c700a4466c136c5aeda5b
parent9e00e80e213ebc37eff89ce72102c1f928ebc133
bpo-35053: Add Include/tracemalloc.h (GH-10091)

* Modify object.h to ensure that pymem.h is included,
  to get _Py_tracemalloc_config variable.
* Move _PyTraceMalloc_XXX() functions to tracemalloc.h,
  they need PyObject type. Break circular dependency between pymem.h
  and object.h.
Include/Python.h
Include/object.h
Include/pymem.h
Include/tracemalloc.h [new file with mode: 0644]
Makefile.pre.in
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters