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

@ -50,7 +50,7 @@ static const int numHintsEnum = SDL_arraysize(HintsEnum);
/**
* Call to SDL_GetHint
*/
static int hints_getHint(void *arg)
static int SDLCALL hints_getHint(void *arg)
{
const char *result1;
const char *result2;
@ -79,7 +79,7 @@ static void SDLCALL hints_testHintChanged(void *userdata, const char *name, cons
/**
* Call to SDL_SetHint
*/
static int hints_setHint(void *arg)
static int SDLCALL hints_setHint(void *arg)
{
const char *testHint = "SDL_AUTOMATED_TEST_HINT";
const char *originalValue;