diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-04-13 08:29:14 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-04-13 08:29:14 (GMT) |
commit | 0e871188e8cd9a4e41be7c734e250bfce2d92d56 (patch) | |
tree | c7ef141919fceb1f741a27825ceafb093c546021 /Include | |
parent | b7ba7433126bff12dd638f11f831fa7bfd0bbf4a (diff) | |
download | cpython-0e871188e8cd9a4e41be7c734e250bfce2d92d56.zip cpython-0e871188e8cd9a4e41be7c734e250bfce2d92d56.tar.gz cpython-0e871188e8cd9a4e41be7c734e250bfce2d92d56.tar.bz2 |
_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.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/objimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h index ed7042f..3f72d67 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -97,7 +97,7 @@ DL_IMPORT(void *) _PyObject_DebugRealloc(void *p, size_t nbytes); 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 |