diff Include/objimpl.h @ 56256:b6aff7a59803

http://bugs.python.org/issue6836 Merging revisions 75103,75104 from trunk to py3k
author Kristján Valur Jónsson <kristjan@ccpgames.com>
date Mon, 28 Sep 2009 13:45:02 +0000
parents 94bd0666ffa7
children cab14be0ada1
line wrap: on
line diff
--- a/Include/objimpl.h	Sun Sep 27 21:10:38 2009 +0000
+++ b/Include/objimpl.h	Mon Sep 28 13:45:02 2009 +0000
@@ -108,6 +108,13 @@
 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