Function SDL_GetMemoryFunctions

pub unsafe extern "C" fn SDL_GetMemoryFunctions(
    malloc_func: *mut Option<unsafe extern "C" fn(_: usize) -> *mut c_void>,
    calloc_func: *mut Option<unsafe extern "C" fn(_: usize, _: usize) -> *mut c_void>,
    realloc_func: *mut Option<unsafe extern "C" fn(_: *mut c_void, _: usize) -> *mut c_void>,
    free_func: *mut Option<unsafe extern "C" fn(_: *mut c_void)>,
)
Available on crate feature dep_sdl2 only.
Expand description

Get the current set of SDL memory functions

\since This function is available since SDL 2.0.7.