comparison include/SDL_main.h @ 1668:4da1ee79c9af SDL-1.3

more tweaking indent options
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 May 2006 04:04:35 +0000
parents 782fd950bd46
children ed4d4f1ea201
comparison
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
48 } 48 }
49 */ 49 */
50 #define main SDL_main 50 #define main SDL_main
51 51
52 /* The prototype for the application's main() function */ 52 /* The prototype for the application's main() function */
53 extern C_LINKAGE int SDL_main (int argc, char *argv[]); 53 extern C_LINKAGE int SDL_main(int argc, char *argv[]);
54 54
55 55
56 /* From the SDL library code -- needed for registering the app on Win32 */ 56 /* From the SDL library code -- needed for registering the app on Win32 */
57 #ifdef __WIN32__ 57 #ifdef __WIN32__
58 58
62 extern "C" { 62 extern "C" {
63 /* *INDENT-ON* */ 63 /* *INDENT-ON* */
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 SDLCALL 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 SDLCALL SDL_RegisterApp (char *name, Uint32 style, 69 extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style,
70 void *hInst); 70 void *hInst);
71 /* This can also be called, but is no longer necessary (SDL_Quit calls it) */ 71 /* This can also be called, but is no longer necessary (SDL_Quit calls it) */
72 extern DECLSPEC void SDLCALL SDL_UnregisterApp (void); 72 extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);
73 #ifdef __cplusplus 73 #ifdef __cplusplus
74 /* *INDENT-OFF* */ 74 /* *INDENT-OFF* */
75 } 75 }
76 /* *INDENT-ON* */ 76 /* *INDENT-ON* */
77 #endif 77 #endif
90 90
91 /* Forward declaration so we don't need to include QuickDraw.h */ 91 /* Forward declaration so we don't need to include QuickDraw.h */
92 struct QDGlobals; 92 struct QDGlobals;
93 93
94 /* This should be called from your main() function, if any */ 94 /* This should be called from your main() function, if any */
95 extern DECLSPEC void SDLCALL SDL_InitQuickDraw (struct QDGlobals *the_qd); 95 extern DECLSPEC void SDLCALL SDL_InitQuickDraw(struct QDGlobals *the_qd);
96 96
97 #ifdef __cplusplus 97 #ifdef __cplusplus
98 /* *INDENT-OFF* */ 98 /* *INDENT-OFF* */
99 } 99 }
100 /* *INDENT-ON* */ 100 /* *INDENT-ON* */