bpo-18835: Add PyMem_AlignedAlloc() by vstinner · Pull Request #4089 · python/cpython
vstinner
changed the title
bpo-18835: Add PyMem_AlignedAlloc()
[WIP] bpo-18835: Add PyMem_AlignedAlloc()
vstinner
changed the title
[WIP] bpo-18835: Add PyMem_AlignedAlloc()
bpo-18835: Add PyMem_AlignedAlloc()
* Add aligned_alloc and aligned_free fields to PyMemAllocatorEx * Rename PyMemAllocatorEx structure to PyMemAllocatorEx2 to make sure that C extensions are upgraded to fill the new aligned_alloc and aligned_free fields * Add 6 new functions: * PyMem_RawAlignedAlloc() * PyMem_RawAlignedFree() * PyMem_AlignedAlloc() * PyMem_AlignedFree() * PyObject_AlignedAlloc() * PyObject_AlignedFree()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters