alignedMalloc

Allocates an aligned memory chunk. Functionally equivalent to Visual C++ _aligned_malloc. Do not mix allocations with different alignment. Important: alignedMalloc(0) does not necessarily return null, and its result _has_ to be freed with alignedFree.

nothrow @nogc
void*
alignedMalloc
(
size_t size
,
size_t alignment
)

Meta