summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-01-27 20:23:22 (GMT)
committerGitHub <noreply@github.com>2022-01-27 20:23:22 (GMT)
commit0575551f69ba9c999835bfb176a543d468083c03 (patch)
tree869e28a7628c05b3b00b711ec90495d885003062 /Objects
parent6c6a153dee132116611f2d5df0689a5a605f62b6 (diff)
downloadcpython-0575551f69ba9c999835bfb176a543d468083c03.zip
cpython-0575551f69ba9c999835bfb176a543d468083c03.tar.gz
cpython-0575551f69ba9c999835bfb176a543d468083c03.tar.bz2
bpo-40170: Move _Py_GetAllocatedBlocks() to pycore_pymem.h (GH-30943)
Move _Py_GetAllocatedBlocks() and _PyObject_DebugMallocStats() declarations to pycore_pymem.h. These functions are related to memory allocators, not to the PyObject structure.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/obmalloc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index ea0faff..e3df7e8 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -8,9 +8,6 @@
/* Defined in tracemalloc.c */
extern void _PyMem_DumpTraceback(int fd, const void *ptr);
-// Forward declaration
-int _PyObject_DebugMallocStats(FILE *out);
-
/* Python's malloc wrappers (see pymem.h) */