From ef6da7e6dfa7568b023805966eaac3fe4ea43a4f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 20 Jun 2013 23:42:27 +0200 Subject: [PATCH] PEP 445: Rename domains: PYMEM_DOMAIN_RAW, PYMEM_DOMAIN_MEM, PYMEM_DOMAIN_OBJ --- pep-0445.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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: