mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user