A callback used to implement SDL_free().
Defined in <SDL3/SDL_stdinc.h>
typedef void (SDLCALL *SDL_free_func)(void *mem);
mem | a pointer to allocated memory. |
SDL will always ensure that the passed mem
is a non-NULL pointer.
It should be safe to call this callback from any thread.
This datatype is available since SDL 3.1.3.