[][src]Function sdl2_sys::SDL_SIMDFree

pub unsafe extern "C" fn SDL_SIMDFree(ptr: *mut c_void)

\brief Deallocate memory obtained from SDL_SIMDAlloc

It is not valid to use this function on a pointer from anything but SDL_SIMDAlloc(). It can't be used on pointers from malloc, realloc, SDL_malloc, memalign, new[], etc.

However, SDL_SIMDFree(NULL) is a legal no-op.

\sa SDL_SIMDAlloc