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

@@ -45,7 +45,7 @@ static SDL_bool SDLCALL events_sampleNullEventFilter(void *userdata, SDL_Event *
* \sa SDL_PumpEvents
* \sa SDL_PollEvent
*/
static int events_pushPumpAndPollUserevent(void *arg)
static int SDLCALL events_pushPumpAndPollUserevent(void *arg)
{
SDL_Event event_in;
SDL_Event event_out;
@@ -109,7 +109,7 @@ static int events_pushPumpAndPollUserevent(void *arg)
* \sa SDL_RemoveEventWatch
*
*/
static int events_addDelEventWatch(void *arg)
static int SDLCALL events_addDelEventWatch(void *arg)
{
SDL_Event event;
@@ -159,7 +159,7 @@ static int events_addDelEventWatch(void *arg)
* \sa SDL_RemoveEventWatch
*
*/
static int events_addDelEventWatchWithUserdata(void *arg)
static int SDLCALL events_addDelEventWatchWithUserdata(void *arg)
{
SDL_Event event;