Mercurial > cpython-lru_cache-weakref
diff Include/objimpl.h @ 23020:e2848618bd19 legacy-trunk
_PyObject_DebugDumpStats: renamed to _PyObject_DebugMallocStats.
Added code to call this when PYMALLOC_DEBUG is enabled, and envar
PYTHONMALLOCSTATS is set, whenever a new arena is obtained and once
late in the Python shutdown process.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 13 Apr 2002 08:29:14 +0000 |
| parents | c5a67f50532e |
| children | 08e6f94f3ab0 |
line wrap: on
line diff
--- a/Include/objimpl.h Sat Apr 13 05:21:47 2002 +0000 +++ b/Include/objimpl.h Sat Apr 13 08:29:14 2002 +0000 @@ -97,7 +97,7 @@ DL_IMPORT(void) _PyObject_DebugFree(void *p); DL_IMPORT(void) _PyObject_DebugDumpAddress(const void *p); DL_IMPORT(void) _PyObject_DebugCheckAddress(const void *p); -DL_IMPORT(void) _PyObject_DebugDumpStats(void); +DL_IMPORT(void) _PyObject_DebugMallocStats(void); #define PyObject_MALLOC _PyObject_DebugMalloc #define PyObject_Malloc _PyObject_DebugMalloc #define PyObject_REALLOC _PyObject_DebugRealloc
