include/SDL_keyboard.h
changeset 337 9154ec9ca3d2
parent 297 f6ffac90895c
child 769 b8d311d90021
     1.1 --- a/include/SDL_keyboard.h	Wed Apr 10 17:12:32 2002 +0000
     1.2 +++ b/include/SDL_keyboard.h	Thu Apr 11 14:35:16 2002 +0000
     1.3 @@ -74,7 +74,7 @@
     1.4   * If 'enable' is -1, the translation state is not changed.
     1.5   * It returns the previous state of keyboard translation.
     1.6   */
     1.7 -extern DECLSPEC int SDL_EnableUNICODE(int enable);
     1.8 +extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable);
     1.9  
    1.10  /*
    1.11   * Enable/Disable keyboard repeat.  Keyboard repeat defaults to off.
    1.12 @@ -87,7 +87,7 @@
    1.13  /*
    1.14   * If 'delay' is set to 0, keyboard repeat is disabled.
    1.15   */
    1.16 -extern DECLSPEC int SDL_EnableKeyRepeat(int delay, int interval);
    1.17 +extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
    1.18  
    1.19  /*
    1.20   * Get a snapshot of the current state of the keyboard.
    1.21 @@ -96,23 +96,23 @@
    1.22   * 	Uint8 *keystate = SDL_GetKeyState(NULL);
    1.23   *	if ( keystate[SDLK_RETURN] ) ... <RETURN> is pressed.
    1.24   */
    1.25 -extern DECLSPEC Uint8 * SDL_GetKeyState(int *numkeys);
    1.26 +extern DECLSPEC Uint8 * SDLCALL SDL_GetKeyState(int *numkeys);
    1.27  
    1.28  /*
    1.29   * Get the current key modifier state
    1.30   */
    1.31 -extern DECLSPEC SDLMod SDL_GetModState(void);
    1.32 +extern DECLSPEC SDLMod SDLCALL SDL_GetModState(void);
    1.33  
    1.34  /*
    1.35   * Set the current key modifier state
    1.36   * This does not change the keyboard state, only the key modifier flags.
    1.37   */
    1.38 -extern DECLSPEC void SDL_SetModState(SDLMod modstate);
    1.39 +extern DECLSPEC void SDLCALL SDL_SetModState(SDLMod modstate);
    1.40  
    1.41  /*
    1.42   * Get the name of an SDL virtual keysym
    1.43   */
    1.44 -extern DECLSPEC char * SDL_GetKeyName(SDLKey key);
    1.45 +extern DECLSPEC char * SDLCALL SDL_GetKeyName(SDLKey key);
    1.46  
    1.47  
    1.48  /* Ends C function definitions when using C++ */