diff options
author | David Malcolm <dmalcolm@redhat.com> | 2012-06-22 18:55:41 (GMT) |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2012-06-22 18:55:41 (GMT) |
commit | 49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 (patch) | |
tree | 51ac80c4d09ca4a537518555710423675a6ac731 /Include/floatobject.h | |
parent | 69cf913ba110de2eb773c030b1dd606456ac5831 (diff) | |
download | cpython-49526f48fc73d3ccdf09d466ed2d39a30e4df9b9.zip cpython-49526f48fc73d3ccdf09d466ed2d39a30e4df9b9.tar.gz cpython-49526f48fc73d3ccdf09d466ed2d39a30e4df9b9.tar.bz2 |
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
Diffstat (limited to 'Include/floatobject.h')
-rw-r--r-- | Include/floatobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/floatobject.h b/Include/floatobject.h index 46ef6e6..e240fdb 100644 --- a/Include/floatobject.h +++ b/Include/floatobject.h @@ -110,6 +110,8 @@ PyAPI_FUNC(double) _PyFloat_Unpack8(const unsigned char *p, int le); /* free list api */ PyAPI_FUNC(int) PyFloat_ClearFreeList(void); +PyAPI_FUNC(void) _PyFloat_DebugMallocStats(FILE* out); + /* Format the object based on the format_spec, as defined in PEP 3101 (Advanced String Formatting). */ PyAPI_FUNC(int) _PyFloat_FormatAdvancedWriter( |