1.1 --- a/include/SDL_main.h Thu Jul 06 18:01:37 2006 +0000
1.2 +++ b/include/SDL_main.h Mon Jul 10 21:04:37 2006 +0000
1.3 @@ -58,17 +58,20 @@
1.4
1.5 #include "begin_code.h"
1.6 #ifdef __cplusplus
1.7 +/* *INDENT-OFF* */
1.8 extern "C" {
1.9 +/* *INDENT-ON* */
1.10 #endif
1.11
1.12 -/* This should be called from your WinMain() function, if any */
1.13 -extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst);
1.14 -/* This can also be called, but is no longer necessary */
1.15 -extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
1.16 -/* This can also be called, but is no longer necessary (SDL_Quit calls it) */
1.17 +/* This can be called to set the application class at startup */
1.18 +extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style,
1.19 + void *hInst);
1.20 extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);
1.21 +
1.22 #ifdef __cplusplus
1.23 +/* *INDENT-OFF* */
1.24 }
1.25 +/* *INDENT-ON* */
1.26 #endif
1.27 #include "close_code.h"
1.28 #endif
1.29 @@ -78,7 +81,9 @@
1.30
1.31 #include "begin_code.h"
1.32 #ifdef __cplusplus
1.33 +/* *INDENT-OFF* */
1.34 extern "C" {
1.35 +/* *INDENT-ON* */
1.36 #endif
1.37
1.38 /* Forward declaration so we don't need to include QuickDraw.h */
1.39 @@ -88,7 +93,9 @@
1.40 extern DECLSPEC void SDLCALL SDL_InitQuickDraw(struct QDGlobals *the_qd);
1.41
1.42 #ifdef __cplusplus
1.43 +/* *INDENT-OFF* */
1.44 }
1.45 +/* *INDENT-ON* */
1.46 #endif
1.47 #include "close_code.h"
1.48 #endif
1.49 @@ -96,3 +103,5 @@
1.50 #endif /* Need to redefine main()? */
1.51
1.52 #endif /* _SDL_main_h */
1.53 +
1.54 +/* vi: set ts=4 sw=4 expandtab: */