mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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.
This commit is contained in:
parent
6c6a153dee
commit
0575551f69
4 changed files with 9 additions and 12 deletions
|
@ -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) */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue