mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Merging revisions 75103,75104 from trunk to py3k
This commit is contained in:
parent
847ec75d3e
commit
ae4cfb1bb3
4 changed files with 108 additions and 23 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue