SDL  2.0
SDL_test_memory.h File Reference
#include "begin_code.h"
#include "close_code.h"
+ Include dependency graph for SDL_test_memory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int SDLTest_TrackAllocations (void)
 Start tracking SDL memory allocations. More...
 
void SDLTest_LogAllocations (void)
 Print a log of any outstanding allocations. More...
 

Detailed Description

Include file for SDL test framework.

This code is a part of the SDL2_test library, not the main SDL library.

Definition in file SDL_test_memory.h.

Function Documentation

◆ SDLTest_LogAllocations()

void SDLTest_LogAllocations ( void  )

Print a log of any outstanding allocations.

Note
This can be called after SDL_Quit()

◆ SDLTest_TrackAllocations()

int SDLTest_TrackAllocations ( void  )

Start tracking SDL memory allocations.

Note
This should be called before any other SDL functions for complete tracking coverage