diff Include/methodobject.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 64b8fdb0bfa9
children 3a86a3f1d89a
line wrap: on
line diff
--- a/Include/methodobject.h	Fri Jun 22 18:40:02 2012 +0000
+++ b/Include/methodobject.h	Fri Jun 22 14:55:41 2012 -0400
@@ -82,6 +82,11 @@
 
 PyAPI_FUNC(int) PyCFunction_ClearFreeList(void);
 
+#ifndef Py_LIMITED_API
+PyAPI_FUNC(void) _PyCFunction_DebugMallocStats(FILE *out);
+PyAPI_FUNC(void) _PyMethod_DebugMallocStats(FILE *out);
+#endif
+
 #ifdef __cplusplus
 }
 #endif