summaryrefslogtreecommitdiffstats
path: root/Include/pymem.h
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2009-09-28 13:45:02 (GMT)
committerKristján Valur Jónsson <kristjan@ccpgames.com>2009-09-28 13:45:02 (GMT)
commitae4cfb1bb3a6a597d6daec2620d321279c15eab4 (patch)
treee84dc618e86e4d7c33337e2b67a0b105ce52d35d /Include/pymem.h
parent847ec75d3eed49b898ad69a55edaf65f3c8a7a4a (diff)
downloadcpython-ae4cfb1bb3a6a597d6daec2620d321279c15eab4.zip
cpython-ae4cfb1bb3a6a597d6daec2620d321279c15eab4.tar.gz
cpython-ae4cfb1bb3a6a597d6daec2620d321279c15eab4.tar.bz2
http://bugs.python.org/issue6836
Merging revisions 75103,75104 from trunk to py3k
Diffstat (limited to 'Include/pymem.h')
-rw-r--r--Include/pymem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/pymem.h b/Include/pymem.h
index 542acee..e2dfe0d 100644
--- a/Include/pymem.h
+++ b/Include/pymem.h
@@ -59,9 +59,9 @@ PyAPI_FUNC(void) PyMem_Free(void *);
/* Macros. */
#ifdef PYMALLOC_DEBUG
/* Redirect all memory operations to Python's debugging allocator. */
-#define PyMem_MALLOC PyObject_MALLOC
-#define PyMem_REALLOC PyObject_REALLOC
-#define PyMem_FREE PyObject_FREE
+#define PyMem_MALLOC _PyMem_DebugMalloc
+#define PyMem_REALLOC _PyMem_DebugRealloc
+#define PyMem_FREE _PyMem_DebugFree
#else /* ! PYMALLOC_DEBUG */