World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл SDL_test_memory.h

См. исходные тексты.

Функции

int SDLTest_TrackAllocations (void)
 Start tracking SDL memory allocations. Подробнее...
 
void SDLTest_LogAllocations (void)
 Print a log of any outstanding allocations. Подробнее...
 

Подробное описание

Include file for SDL test framework.

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

См. определение в файле SDL_test_memory.h

Функции

◆ SDLTest_TrackAllocations()

int SDLTest_TrackAllocations ( void  )

Start tracking SDL memory allocations.

Заметки
This should be called before any other SDL functions for complete tracking coverage

◆ SDLTest_LogAllocations()

void SDLTest_LogAllocations ( void  )

Print a log of any outstanding allocations.

Заметки
This can be called after SDL_Quit()