Remove also a wrong sentence: using the same prototypes than external libraries
is not a must-have. In fact, it was neither a guideline for this PEP, but just
an inspiration.
* add PyMemAllocatorDomain enum: PYALLOC_PYMEM_RAW, PYALLOC_PYMEM or
PYALLOC_PYOBJECT
* rename:
- PyMemBlockAllocator structure => PyMemAllocator
- PyMem_GetMappingAllocator() => PyObject_GetArenaAllocator()
- PyMemMappingAllocator structure => PyObjectArenaAllocator
- PyMem_SetMappingAllocator() => PyObject_SetArenaAllocator()
* group get/set functions to only keep 2 functions:
PyMem_GetAllocator() and PyMem_SetAllocator()
* PyMem_RawMalloc(0) now calls malloc(1) to have a well defined behaviour
* PYALLOC_PYMEM_RAW and PYALLOC_PYMEM are now using exactly the same allocator
* Add more references for external libraries