This is what SDL_malloc and friends will use by default, if there has been
no call to SDL_SetMemoryFunctions. This is not necessarily using the C
runtime's malloc functions behind the scenes! Different platforms and
build configurations might do any number of unexpected things.
\param malloc_func filled with malloc function.
\param calloc_func filled with calloc function.
\param realloc_func filled with realloc function.
\param free_func filled with free function.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.2.0.
Get the original set of SDL memory functions.
This is what SDL_malloc and friends will use by default, if there has been no call to SDL_SetMemoryFunctions. This is not necessarily using the C runtime's malloc functions behind the scenes! Different platforms and build configurations might do any number of unexpected things.
\param malloc_func filled with malloc function. \param calloc_func filled with calloc function. \param realloc_func filled with realloc function. \param free_func filled with free function.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.2.0.