diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-10-25 15:54:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 15:54:13 +0200 |
commit | 6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3 (patch) | |
tree | 69ba9fb9c2291b19241c700a4466c136c5aeda5b /Makefile.pre.in | |
parent | 9e00e80e213ebc37eff89ce72102c1f928ebc133 (diff) | |
download | cpython-git-6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3.tar.gz |
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.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 333ab9b382..61b469d450 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 \ |