Function SDL_aligned_free

pub unsafe extern "C" fn SDL_aligned_free(mem: *mut c_void)
Available on crate feature dep_sdl3 only.
Expand description

Free memory allocated by SDL_aligned_alloc().

The pointer is no longer valid after this call and cannot be dereferenced anymore.

If mem is NULL, this function does nothing.

§Parameters

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also