include/SDL_main.h
changeset 337 9154ec9ca3d2
parent 297 f6ffac90895c
child 371 db0cc6034336
equal deleted inserted replaced
336:745873ea091f 337:9154ec9ca3d2
    62 #ifdef __cplusplus
    62 #ifdef __cplusplus
    63 extern "C" {
    63 extern "C" {
    64 #endif
    64 #endif
    65 
    65 
    66 /* This should be called from your WinMain() function, if any */
    66 /* This should be called from your WinMain() function, if any */
    67 extern DECLSPEC void SDL_SetModuleHandle(void *hInst);
    67 extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst);
    68 /* This can also be called, but is no longer necessary */
    68 /* This can also be called, but is no longer necessary */
    69 extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, void *hInst);
    69 extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
    70 
    70 
    71 #ifdef __cplusplus
    71 #ifdef __cplusplus
    72 }
    72 }
    73 #endif
    73 #endif
    74 #include "close_code.h"
    74 #include "close_code.h"
    84 
    84 
    85 /* Forward declaration so we don't need to include QuickDraw.h */
    85 /* Forward declaration so we don't need to include QuickDraw.h */
    86 struct QDGlobals;
    86 struct QDGlobals;
    87 
    87 
    88 /* This should be called from your main() function, if any */
    88 /* This should be called from your main() function, if any */
    89 extern DECLSPEC void SDL_InitQuickDraw(struct QDGlobals *the_qd);
    89 extern DECLSPEC void SDLCALL SDL_InitQuickDraw(struct QDGlobals *the_qd);
    90 
    90 
    91 #ifdef __cplusplus
    91 #ifdef __cplusplus
    92 }
    92 }
    93 #endif
    93 #endif
    94 #include "close_code.h"
    94 #include "close_code.h"