Crate aligned_alloc [] [src]

Functions

aligned_alloc

Allocates size Bytes aligned to align Bytes. Returns a null pointer on allocation failure.

aligned_free

Deallocates aligned memory that was allocated with aligned_alloc. Unsafe because calling this with a pointer that was not allocated with aligned_alloc (or already released) causes undefined behavior.