summaryrefslogtreecommitdiff
path: root/Include/objimpl.h
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-06-22 21:13:34 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2012-06-22 21:13:34 +0200
commit5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa (patch)
treee818110e6015c9666cac9d1d3107ca656719811a /Include/objimpl.h
parentf7338f65fb8bdb85c52dc54d06d003a82a06bbb3 (diff)
parent49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 (diff)
downloadcpython-git-5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa.tar.gz
Merge
Diffstat (limited to 'Include/objimpl.h')
-rw-r--r--Include/objimpl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index 8fc3fc1e9a..b1a624c8eb 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -101,13 +101,15 @@ PyAPI_FUNC(void) PyObject_Free(void *);
/* Macros */
#ifdef WITH_PYMALLOC
+#ifndef Py_LIMITED_API
+PyAPI_FUNC(void) _PyObject_DebugMallocStats(FILE *out);
+#endif /* #ifndef Py_LIMITED_API */
#ifdef PYMALLOC_DEBUG /* WITH_PYMALLOC && PYMALLOC_DEBUG */
PyAPI_FUNC(void *) _PyObject_DebugMalloc(size_t nbytes);
PyAPI_FUNC(void *) _PyObject_DebugRealloc(void *p, size_t nbytes);
PyAPI_FUNC(void) _PyObject_DebugFree(void *p);
PyAPI_FUNC(void) _PyObject_DebugDumpAddress(const void *p);
PyAPI_FUNC(void) _PyObject_DebugCheckAddress(const void *p);
-PyAPI_FUNC(void) _PyObject_DebugMallocStats(void);
PyAPI_FUNC(void *) _PyObject_DebugMallocApi(char api, size_t nbytes);
PyAPI_FUNC(void *) _PyObject_DebugReallocApi(char api, void *p, size_t nbytes);
PyAPI_FUNC(void) _PyObject_DebugFreeApi(char api, void *p);