Added --randmem test parameter

This commit is contained in:
Brick
2023-08-27 20:05:43 +01:00
committed by Sam Lantinga
parent ea68bb8027
commit 82e481b520
3 changed files with 66 additions and 14 deletions

View File

@@ -42,7 +42,14 @@ extern "C" {
*
* \note This should be called before any other SDL functions for complete tracking coverage
*/
int SDLTest_TrackAllocations(void);
void SDLTest_TrackAllocations(void);
/**
* \brief Fill allocations with random data
*
* \note This implicitly calls SDLTest_TrackAllocations()
*/
void SDLTest_RandFillAllocations();
/**
* \brief Print a log of any outstanding allocations