Explicitly specify the SDL API calling convention (C by default)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40338
This commit is contained in:
Sam Lantinga 2002-04-11 14:35:16 +00:00
parent 16d7ff7c9c
commit 808d714de4
24 changed files with 200 additions and 195 deletions

View file

@ -64,9 +64,9 @@ extern "C" {
#endif
/* This should be called from your WinMain() function, if any */
extern DECLSPEC void SDL_SetModuleHandle(void *hInst);
extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst);
/* This can also be called, but is no longer necessary */
extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, void *hInst);
extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
#ifdef __cplusplus
}
@ -86,7 +86,7 @@ extern "C" {
struct QDGlobals;
/* This should be called from your main() function, if any */
extern DECLSPEC void SDL_InitQuickDraw(struct QDGlobals *the_qd);
extern DECLSPEC void SDLCALL SDL_InitQuickDraw(struct QDGlobals *the_qd);
#ifdef __cplusplus
}