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 | c66679874d42ebaddde9958928171a8bb318b116 (patch) | |
tree | 1b3fa840264d3c74665678ee7e8735fafe44125d /Include/tupleobject.h | |
parent | ec1b06d577d16cf06f2789b8e556781a276d54b1 (diff) | |
download | cpython-c66679874d42ebaddde9958928171a8bb318b116.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 } |