From 6279c1c5003cd94b5e04e568ce3df7c4e8f1eaa3 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 25 Oct 2018 15:54:13 +0200 Subject: 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. --- Makefile.pre.in | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.pre.in') 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 \ -- cgit v1.2.3-65-gdbad