commit | 49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 | [log] [tgz] |
---|---|---|
author | David Malcolm <dmalcolm@redhat.com> | Fri Jun 22 14:55:41 2012 -0400 |
committer | David Malcolm <dmalcolm@redhat.com> | Fri Jun 22 14:55:41 2012 -0400 |
tree | 51ac80c4d09ca4a537518555710423675a6ac731 | |
parent | 69cf913ba110de2eb773c030b1dd606456ac5831 [diff] [blame] |
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
diff --git a/Include/listobject.h b/Include/listobject.h index 6fd374b..dc62aee 100644 --- a/Include/listobject.h +++ b/Include/listobject.h
@@ -64,6 +64,7 @@ PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *); PyAPI_FUNC(int) PyList_ClearFreeList(void); +PyAPI_FUNC(void) _PyList_DebugMallocStats(FILE *out); #endif /* Macro, trading safety for speed */