diff options
| author | Victor Stinner <vstinner@python.org> | 2022-01-27 02:35:51 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-27 02:35:51 (GMT) |
| commit | 6b491b9dc0b0fdfd1f07ea4e2151236186d8e7e6 (patch) | |
| tree | 9922e2b27ecbf982d3d847da691523d32997c3c3 /Include/cpython | |
| parent | af32b3ef1fbad3c2242627a14398320960a0cb45 (diff) | |
| download | cpython-6b491b9dc0b0fdfd1f07ea4e2151236186d8e7e6.zip cpython-6b491b9dc0b0fdfd1f07ea4e2151236186d8e7e6.tar.gz cpython-6b491b9dc0b0fdfd1f07ea4e2151236186d8e7e6.tar.bz2 | |
bpo-40170: Remove _Py_GetAllocatedBlocks() function (GH-30940)
Move _Py_GetAllocatedBlocks() and _PyObject_DebugMallocStats()
private functions to the internal C API.
Diffstat (limited to 'Include/cpython')
| -rw-r--r-- | Include/cpython/objimpl.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Include/cpython/objimpl.h b/Include/cpython/objimpl.h index 7fff96e..d7c76ea 100644 --- a/Include/cpython/objimpl.h +++ b/Include/cpython/objimpl.h @@ -52,14 +52,6 @@ the 1st step is performed automatically for you, so in a C++ class constructor you would start directly with PyObject_Init/InitVar. */ -/* This function returns the number of allocated memory blocks, regardless of size */ -PyAPI_FUNC(Py_ssize_t) _Py_GetAllocatedBlocks(void); - -/* Macros */ -#ifdef WITH_PYMALLOC -PyAPI_FUNC(int) _PyObject_DebugMallocStats(FILE *out); -#endif - typedef struct { /* user context passed as the first argument to the 2 functions */ |
