aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-10-25 15:54:13 +0200
committerGitHub <noreply@github.com>2018-10-25 15:54:13 +0200
commit6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3 (patch)
tree69ba9fb9c2291b19241c700a4466c136c5aeda5b /Makefile.pre.in
parentbpo-35053: Enhance tracemalloc to trace free lists (GH-10063) (diff)
downloadcpython-6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3.tar.gz
cpython-6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3.tar.bz2
cpython-6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3.zip
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.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 333ab9b3824..61b469d4504 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1017,6 +1017,7 @@ PYTHON_HEADERS= \
$(srcdir)/Include/symtable.h \
$(srcdir)/Include/sysmodule.h \
$(srcdir)/Include/traceback.h \
+ $(srcdir)/Include/tracemalloc.h \
$(srcdir)/Include/tupleobject.h \
$(srcdir)/Include/ucnhash.h \
$(srcdir)/Include/unicodeobject.h \