SDL_test: use SDLCALL calling convention

This is needed when using a pre-built static SDL3_test library.
This commit is contained in:
Anonymous Maarten 2024-09-06 03:21:13 +02:00 committed by Anonymous Maarten
parent 379aea5c2d
commit db96ddca34
38 changed files with 444 additions and 452 deletions

View file

@ -36,28 +36,26 @@
extern "C" {
#endif
/**
* Start tracking SDL memory allocations
*
* \note This should be called before any other SDL functions for complete tracking coverage
*/
void SDLTest_TrackAllocations(void);
void SDLCALL SDLTest_TrackAllocations(void);
/**
* Fill allocations with random data
*
* \note This implicitly calls SDLTest_TrackAllocations()
*/
void SDLTest_RandFillAllocations(void);
void SDLCALL SDLTest_RandFillAllocations(void);
/**
* Print a log of any outstanding allocations
*
* \note This can be called after SDL_Quit()
*/
void SDLTest_LogAllocations(void);
void SDLCALL SDLTest_LogAllocations(void);
/* Ends C function definitions when using C++ */
#ifdef __cplusplus