SDL_GetNumAllocations

Get the number of outstanding (unfreed) allocations.

\returns the number of allocations or -1 if allocation counting is disabled.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.2.0.

extern (C) nothrow @nogc extern
int
SDL_GetNumAllocations
()

Meta