[][src]Function fermium::stdinc::SDL_SetMemoryFunctions

pub unsafe extern "C" fn SDL_SetMemoryFunctions(
    malloc_func: SDL_malloc_func,
    calloc_func: SDL_calloc_func,
    realloc_func: SDL_realloc_func,
    free_func: SDL_free_func
) -> c_int

Set new SDL memory functions.

Caution: before using this, be sure to call SDL_GetNumAllocations and check that it's 0.