summaryrefslogtreecommitdiff
path: root/Include/objimpl.h
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2009-09-28 13:45:02 +0000
committerKristján Valur Jónsson <kristjan@ccpgames.com>2009-09-28 13:45:02 +0000
commitae4cfb1bb3a6a597d6daec2620d321279c15eab4 (patch)
treee84dc618e86e4d7c33337e2b67a0b105ce52d35d /Include/objimpl.h
parent847ec75d3eed49b898ad69a55edaf65f3c8a7a4a (diff)
downloadcpython-git-ae4cfb1bb3a6a597d6daec2620d321279c15eab4.tar.gz
http://bugs.python.org/issue6836
Merging revisions 75103,75104 from trunk to py3k
Diffstat (limited to 'Include/objimpl.h')
-rw-r--r--Include/objimpl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index 5a27382537..a9ac41cb46 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -108,6 +108,13 @@ 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);
+PyAPI_FUNC(void) _PyObject_DebugCheckAddressApi(char api, const void *p);
+PyAPI_FUNC(void *) _PyMem_DebugMalloc(size_t nbytes);
+PyAPI_FUNC(void *) _PyMem_DebugRealloc(void *p, size_t nbytes);
+PyAPI_FUNC(void) _PyMem_DebugFree(void *p);
#define PyObject_MALLOC _PyObject_DebugMalloc
#define PyObject_Malloc _PyObject_DebugMalloc
#define PyObject_REALLOC _PyObject_DebugRealloc