mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 08:57:40 +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:
parent
379aea5c2d
commit
db96ddca34
38 changed files with 444 additions and 452 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue