Add PyMem_(Raw)Calloc to cpython.mem (GH-4086)
CPython added PyMem_RawCalloc and PyMem_Calloc in version 3.5. The #defines of PyMem_RawMalloc, PyMem_RawRealloc, and PyMem_RawFree are removed from Cython/Utility/ModuleSetupCode.c since the Raw versions allow use without the GIL but the non-Raw versions do not. Co-authored-by: William Schwartz <wkschwartz@gmail.com> Closes https://github.com/cython/cython/pull/3050 Closes https://github.com/cython/cython/pull/3047
Showing
Please register or sign in to comment