diff options
author | David Malcolm <dmalcolm@redhat.com> | 2012-06-22 14:55:41 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2012-06-22 14:55:41 -0400 |
commit | 49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 (patch) | |
tree | 51ac80c4d09ca4a537518555710423675a6ac731 /Include/tupleobject.h | |
parent | 69cf913ba110de2eb773c030b1dd606456ac5831 (diff) | |
download | cpython-git-49526f48fc73d3ccdf09d466ed2d39a30e4df9b9.tar.gz |
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
Diffstat (limited to 'Include/tupleobject.h')
-rw-r--r-- | Include/tupleobject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/tupleobject.h b/Include/tupleobject.h index f17b7882be..c273ce7dc8 100644 --- a/Include/tupleobject.h +++ b/Include/tupleobject.h @@ -63,6 +63,9 @@ PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *); #endif PyAPI_FUNC(int) PyTuple_ClearFreeList(void); +#ifndef Py_LIMITED_API +PyAPI_FUNC(void) _PyTuple_DebugMallocStats(FILE *out); +#endif /* Py_LIMITED_API */ #ifdef __cplusplus } |