diff --git a/pep-0445.txt b/pep-0445.txt index efd7b8ff3..96131f21e 100644 --- a/pep-0445.txt +++ b/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: