pub unsafe extern "C" fn SDL_GetMemoryFunctions(
malloc_func: *mut SDL_malloc_func,
calloc_func: *mut SDL_calloc_func,
realloc_func: *mut SDL_realloc_func,
free_func: *mut SDL_free_func,
)Expand description
Get the current set of SDL memory functions.
§Parameters
malloc_func: filled with malloc function.calloc_func: filled with calloc function.realloc_func: filled with realloc function.free_func: filled with free function.
§Thread safety
This does not hold a lock, so do not call this in the
unlikely event of a background thread calling
SDL_SetMemoryFunctions simultaneously.
§Availability
This function is available since SDL 3.2.0.