diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-10-25 13:54:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 13:54:13 (GMT) |
commit | 6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3 (patch) | |
tree | 69ba9fb9c2291b19241c700a4466c136c5aeda5b /Include/Python.h | |
parent | 9e00e80e213ebc37eff89ce72102c1f928ebc133 (diff) | |
download | cpython-6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3.zip cpython-6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3.tar.gz cpython-6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3.tar.bz2 |
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 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h index 1bac5bd..80200fe 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -137,5 +137,6 @@ #include "dtoa.h" #include "fileutils.h" #include "pyfpe.h" +#include "tracemalloc.h" #endif /* !Py_PYTHON_H */ |