summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-07-07 00:05:46 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-07-07 00:05:46 (GMT)
commit0507bf56f0b1064a179464eb3a9d524fd6dad815 (patch)
tree3221e4356dddf25fd2aef3f10f6d07e6e7e26255 /PCbuild
parentdf715ba54d6a5cad9f59bffe1c2180691a999450 (diff)
downloadcpython-0507bf56f0b1064a179464eb3a9d524fd6dad815.zip
cpython-0507bf56f0b1064a179464eb3a9d524fd6dad815.tar.gz
cpython-0507bf56f0b1064a179464eb3a9d524fd6dad815.tar.bz2
Issue #3329: Implement the PEP 445
Add new enum: * PyMemAllocatorDomain Add new structures: * PyMemAllocator * PyObjectArenaAllocator Add new functions: * PyMem_RawMalloc(), PyMem_RawRealloc(), PyMem_RawFree() * PyMem_GetAllocator(), PyMem_SetAllocator() * PyObject_GetArenaAllocator(), PyObject_SetArenaAllocator() * PyMem_SetupDebugHooks() Changes: * PyMem_Malloc()/PyObject_Realloc() now always call malloc()/realloc(), instead of calling PyObject_Malloc()/PyObject_Realloc() in debug mode. * PyObject_Malloc()/PyObject_Realloc() now falls back to PyMem_Malloc()/PyMem_Realloc() for allocations larger than 512 bytes. * Redesign debug checks on memory block allocators as hooks, instead of using C macros
Diffstat (limited to 'PCbuild')
0 files changed, 0 insertions, 0 deletions