mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-17 15:51:25 +00:00
SDL_test: use SDLCALL calling convention
This is needed when using a pre-built static SDL3_test library.
This commit is contained in:
committed by
Anonymous Maarten
parent
379aea5c2d
commit
db96ddca34
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user