[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

Xavier de Gaye report at bugs.python.org
Wed Oct 25 16:46:55 EDT 2017


Xavier de Gaye <xdegaye at gmail.com> added the comment:

Android has both memalign() [1] and posix_memalign() [2] and does not have aligned_alloc(), posix_memalign() is a wrapper around memalign() [3].

[1] https://android.googlesource.com/platform/bionic/+/master/libc/include/malloc.h#38
[2] https://android.googlesource.com/platform/bionic/+/master/libc/include/stdlib.h#80
[3] https://android.googlesource.com/platform/bionic/+/85aad90%5E%21/

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18835>
_______________________________________


More information about the Python-bugs-list mailing list