ma_aligned_malloc function
- int sz,
- int alignment,
- Pointer<
ma_allocation_callbacks> pAllocationCallbacks
Performs an aligned malloc, with the assumption that the alignment is a power of 2.
Implementation
@ffi.Native<
ffi.Pointer<ffi.Void> Function(
ffi.Size,
ffi.Size,
ffi.Pointer<ma_allocation_callbacks>,
)
>()
external ffi.Pointer<ffi.Void> ma_aligned_malloc(
int sz,
int alignment,
ffi.Pointer<ma_allocation_callbacks> pAllocationCallbacks,
);