summaryrefslogtreecommitdiff
path: root/Include/tupleobject.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2012-06-22 14:55:41 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2012-06-22 14:55:41 -0400
commitc66679874d42ebaddde9958928171a8bb318b116 (patch)
tree1b3fa840264d3c74665678ee7e8735fafe44125d /Include/tupleobject.h
parentec1b06d577d16cf06f2789b8e556781a276d54b1 (diff)
downloadcpython-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.h3
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
}