mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 10:27: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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue