Fixed a few public APIs that we accidentally neglected to mark as SDLCALL.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 23 Nov 2013 15:52:49 -0500
changeset 8028e3e00f8e6b91
parent 8027 21dcb24404c0
child 8029 cf81e6709b3d
Fixed a few public APIs that we accidentally neglected to mark as SDLCALL.

Fixes Bugzilla #2262.
include/SDL_joystick.h
include/SDL_main.h
include/SDL_render.h
     1.1 --- a/include/SDL_joystick.h	Sat Nov 23 18:37:36 2013 +0100
     1.2 +++ b/include/SDL_joystick.h	Sat Nov 23 15:52:49 2013 -0500
     1.3 @@ -115,7 +115,7 @@
     1.4   *  Return a string representation for this guid. pszGUID must point to at least 33 bytes
     1.5   *  (32 for the string plus a NULL terminator).
     1.6   */
     1.7 -extern DECLSPEC void SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID);
     1.8 +extern DECLSPEC void SDLCALL SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID);
     1.9  
    1.10  /**
    1.11   *  convert a string into a joystick formatted guid
     2.1 --- a/include/SDL_main.h	Sat Nov 23 18:37:36 2013 +0100
     2.2 +++ b/include/SDL_main.h	Sat Nov 23 15:52:49 2013 -0500
     2.3 @@ -101,7 +101,7 @@
     2.4   *  Calling this yourself without knowing what you're doing can cause
     2.5   *  crashes and hard to diagnose problems with your application.
     2.6   */
     2.7 -extern DECLSPEC void SDL_SetMainReady(void);
     2.8 +extern DECLSPEC void SDLCALL SDL_SetMainReady(void);
     2.9  
    2.10  #ifdef __WIN32__
    2.11  
     3.1 --- a/include/SDL_render.h	Sat Nov 23 18:37:36 2013 +0100
     3.2 +++ b/include/SDL_render.h	Sat Nov 23 15:52:49 2013 -0500
     3.3 @@ -596,7 +596,7 @@
     3.4   *
     3.5   *  \return 0 on success, or -1 on error
     3.6   */
     3.7 -extern DECLSPEC int SDL_SetRenderDrawColor(SDL_Renderer * renderer,
     3.8 +extern DECLSPEC int SDLCALL SDL_SetRenderDrawColor(SDL_Renderer * renderer,
     3.9                                             Uint8 r, Uint8 g, Uint8 b,
    3.10                                             Uint8 a);
    3.11  
    3.12 @@ -612,7 +612,7 @@
    3.13   *
    3.14   *  \return 0 on success, or -1 on error
    3.15   */
    3.16 -extern DECLSPEC int SDL_GetRenderDrawColor(SDL_Renderer * renderer,
    3.17 +extern DECLSPEC int SDLCALL SDL_GetRenderDrawColor(SDL_Renderer * renderer,
    3.18                                             Uint8 * r, Uint8 * g, Uint8 * b,
    3.19                                             Uint8 * a);
    3.20