diff options
author | Victor Stinner <vstinner@python.org> | 2022-01-27 20:23:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 20:23:22 (GMT) |
commit | 0575551f69ba9c999835bfb176a543d468083c03 (patch) | |
tree | 869e28a7628c05b3b00b711ec90495d885003062 /Objects | |
parent | 6c6a153dee132116611f2d5df0689a5a605f62b6 (diff) | |
download | cpython-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.c | 3 |
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) */ |