[issue18835] Add aligned memory variants to the suite of PyMem functions/macros
Stefan Krah
report at bugs.python.org
Fri Oct 27 08:03:40 EDT 2017
Stefan Krah <stefan at bytereef.org> added the comment:
Should we care about the C11 restriction?
http://en.cppreference.com/w/c/memory/aligned_alloc
"size - number of bytes to allocate. An integral multiple of alignment"
posix_memalign and _aligned_malloc don't care about the multiple.
On the other hand, sane requests will have the exact multiple most
of the time anyway.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18835>
_______________________________________
More information about the Python-bugs-list
mailing list