Mercurial > sdl-ios-xcode
diff include/SDL_error.h @ 337:9154ec9ca3d2
Explicitly specify the SDL API calling convention (C by default)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 11 Apr 2002 14:35:16 +0000 |
parents | f6ffac90895c |
children | b8d311d90021 |
line wrap: on
line diff
--- a/include/SDL_error.h Wed Apr 10 17:12:32 2002 +0000 +++ b/include/SDL_error.h Thu Apr 11 14:35:16 2002 +0000 @@ -37,9 +37,9 @@ #endif /* Public functions */ -extern DECLSPEC void SDL_SetError(const char *fmt, ...); -extern DECLSPEC char * SDL_GetError(void); -extern DECLSPEC void SDL_ClearError(void); +extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...); +extern DECLSPEC char * SDLCALL SDL_GetError(void); +extern DECLSPEC void SDLCALL SDL_ClearError(void); /* Private error message function - used internally */ #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM)