diff Include/floatobject.h @ 77577:d63a80abfbec

Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
author David Malcolm <dmalcolm@redhat.com>
date Fri, 22 Jun 2012 14:55:41 -0400
parents 22b56b0b8619
children
line wrap: on
line diff
--- a/Include/floatobject.h	Fri Jun 22 18:40:02 2012 +0000
+++ b/Include/floatobject.h	Fri Jun 22 14:55:41 2012 -0400
@@ -110,6 +110,8 @@
 /* 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(