sdlGetNumAllocations function

int sdlGetNumAllocations()

Get the number of outstanding (unfreed) allocations

\since This function is available since SDL 2.0.7.

extern DECLSPEC int SDLCALL SDL_GetNumAllocations(void)

Implementation

int sdlGetNumAllocations() {
  final sdlGetNumAllocationsLookupFunction =
      libSdl2.lookupFunction<Int32 Function(), int Function()>(
          'SDL_GetNumAllocations');
  return sdlGetNumAllocationsLookupFunction();
}