Crate aligned_alloc

Crate aligned_alloc 

Source

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.