SDL_aligned_free

Function SDL_aligned_free 

Source
pub unsafe extern "C" fn SDL_aligned_free(mem: *mut c_void)
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