PEP 445: Rename domains: PYMEM_DOMAIN_RAW, PYMEM_DOMAIN_MEM, PYMEM_DOMAIN_OBJ
This commit is contained in:
parent
a481167f6c
commit
ef6da7e6df
12
pep-0445.txt
12
pep-0445.txt
|
@ -73,14 +73,14 @@ New functions and new structure
|
|||
* Add a new ``PyMemAllocatorDomain`` enum to choose the Python
|
||||
allocator domain. Domains:
|
||||
|
||||
- ``PYALLOC_PYMEM_RAW``: ``PyMem_RawMalloc()``, ``PyMem_RawRealloc()``
|
||||
and ``PyMem_RawRealloc()``
|
||||
- ``PYMEM_DOMAIN_RAW``: ``PyMem_RawMalloc()``, ``PyMem_RawRealloc()``
|
||||
and ``PyMem_RawFree()``
|
||||
|
||||
- ``PYALLOC_PYMEM``: ``PyMem_Malloc()``, ``PyMem_Realloc()`` and
|
||||
``PyMem_Realloc()``
|
||||
- ``PYMEM_DOMAIN_MEM``: ``PyMem_Malloc()``, ``PyMem_Realloc()`` and
|
||||
``PyMem_Free()``
|
||||
|
||||
- ``PYALLOC_PYOBJECT``: ``PyObject_Malloc()``, ``PyObject_Realloc()``
|
||||
and ``PyObject_Realloc()``
|
||||
- ``PYMEM_DOMAIN_OBJ``: ``PyObject_Malloc()``, ``PyObject_Realloc()``
|
||||
and ``PyObject_Free()``
|
||||
|
||||
* Add new functions to get and set memory allocators:
|
||||
|
||||
|
|
Loading…
Reference in New Issue