PEP 445: Rename domains: PYMEM_DOMAIN_RAW, PYMEM_DOMAIN_MEM, PYMEM_DOMAIN_OBJ

This commit is contained in:
Victor Stinner 2013-06-20 23:42:27 +02:00
parent a481167f6c
commit ef6da7e6df
1 changed files with 6 additions and 6 deletions

View File

@ -73,14 +73,14 @@ New functions and new structure
* Add a new ``PyMemAllocatorDomain`` enum to choose the Python * Add a new ``PyMemAllocatorDomain`` enum to choose the Python
allocator domain. Domains: allocator domain. Domains:
- ``PYALLOC_PYMEM_RAW``: ``PyMem_RawMalloc()``, ``PyMem_RawRealloc()`` - ``PYMEM_DOMAIN_RAW``: ``PyMem_RawMalloc()``, ``PyMem_RawRealloc()``
and ``PyMem_RawRealloc()`` and ``PyMem_RawFree()``
- ``PYALLOC_PYMEM``: ``PyMem_Malloc()``, ``PyMem_Realloc()`` and - ``PYMEM_DOMAIN_MEM``: ``PyMem_Malloc()``, ``PyMem_Realloc()`` and
``PyMem_Realloc()`` ``PyMem_Free()``
- ``PYALLOC_PYOBJECT``: ``PyObject_Malloc()``, ``PyObject_Realloc()`` - ``PYMEM_DOMAIN_OBJ``: ``PyObject_Malloc()``, ``PyObject_Realloc()``
and ``PyObject_Realloc()`` and ``PyObject_Free()``
* Add new functions to get and set memory allocators: * Add new functions to get and set memory allocators: