Skip to content
Permalink
Browse files

Fixed bug 3745 - specify SDLCALL as the calling convention for API ca…

…llbacks

Patches contributed by Ozkan Sezer
  • Loading branch information
slouken committed Aug 14, 2017
1 parent d03409e commit de91b1248f2e9c1b8b05878dd4712948e91726fd

File 5 of 23 in de91b12

@@ -50,9 +50,7 @@ typedef struct SDL_LogLevel
} SDL_LogLevel;

/* The default log output function */
static void SDL_LogOutput(void *userdata,
int category, SDL_LogPriority priority,
const char *message);
static void SDLCALL SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority, const char *message);

static SDL_LogLevel *SDL_loglevels;
static SDL_LogPriority SDL_default_priority = DEFAULT_PRIORITY;
@@ -312,7 +310,7 @@ static int consoleAttached = 0;
static HANDLE stderrHandle = NULL;
#endif

static void
static void SDLCALL
SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority,
const char *message)
{

0 comments on commit de91b12

Please sign in to comment.