SDL_free_func

A callback used to implement SDL_free().

SDL will always ensure that the passed mem is a non-NULL pointer.

\param mem a pointer to allocated memory.

\threadsafety It should be safe to call this callback from any thread.

\since This datatype is available since SDL 3.2.0.

\sa SDL_free \sa SDL_GetOriginalMemoryFunctions \sa SDL_GetMemoryFunctions \sa SDL_SetMemoryFunctions

extern (C) nothrow @nogc
alias SDL_free_func = void function
(
void* mem
)

Meta