include/SDL_main.h
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1466 3c45c578d480
child 1668 4da1ee79c9af
     1.1 --- a/include/SDL_main.h	Sun May 21 17:27:13 2006 +0000
     1.2 +++ b/include/SDL_main.h	Sun May 28 13:04:16 2006 +0000
     1.3 @@ -50,7 +50,7 @@
     1.4  #define main	SDL_main
     1.5  
     1.6  /* The prototype for the application's main() function */
     1.7 -extern C_LINKAGE int SDL_main(int argc, char *argv[]);
     1.8 +extern C_LINKAGE int SDL_main (int argc, char *argv[]);
     1.9  
    1.10  
    1.11  /* From the SDL library code -- needed for registering the app on Win32 */
    1.12 @@ -58,17 +58,22 @@
    1.13  
    1.14  #include "begin_code.h"
    1.15  #ifdef __cplusplus
    1.16 +/* *INDENT-OFF* */
    1.17  extern "C" {
    1.18 +/* *INDENT-ON* */
    1.19  #endif
    1.20  
    1.21  /* This should be called from your WinMain() function, if any */
    1.22 -extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst);
    1.23 +extern DECLSPEC void SDLCALL SDL_SetModuleHandle (void *hInst);
    1.24  /* This can also be called, but is no longer necessary */
    1.25 -extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
    1.26 +extern DECLSPEC int SDLCALL SDL_RegisterApp (char *name, Uint32 style,
    1.27 +                                             void *hInst);
    1.28  /* This can also be called, but is no longer necessary (SDL_Quit calls it) */
    1.29 -extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);
    1.30 +extern DECLSPEC void SDLCALL SDL_UnregisterApp (void);
    1.31  #ifdef __cplusplus
    1.32 +/* *INDENT-OFF* */
    1.33  }
    1.34 +/* *INDENT-ON* */
    1.35  #endif
    1.36  #include "close_code.h"
    1.37  #endif
    1.38 @@ -78,17 +83,21 @@
    1.39  
    1.40  #include "begin_code.h"
    1.41  #ifdef __cplusplus
    1.42 +/* *INDENT-OFF* */
    1.43  extern "C" {
    1.44 +/* *INDENT-ON* */
    1.45  #endif
    1.46  
    1.47  /* Forward declaration so we don't need to include QuickDraw.h */
    1.48  struct QDGlobals;
    1.49  
    1.50  /* This should be called from your main() function, if any */
    1.51 -extern DECLSPEC void SDLCALL SDL_InitQuickDraw(struct QDGlobals *the_qd);
    1.52 +extern DECLSPEC void SDLCALL SDL_InitQuickDraw (struct QDGlobals *the_qd);
    1.53  
    1.54  #ifdef __cplusplus
    1.55 +/* *INDENT-OFF* */
    1.56  }
    1.57 +/* *INDENT-ON* */
    1.58  #endif
    1.59  #include "close_code.h"
    1.60  #endif
    1.61 @@ -96,3 +105,5 @@
    1.62  #endif /* Need to redefine main()? */
    1.63  
    1.64  #endif /* _SDL_main_h */
    1.65 +
    1.66 +/* vi: set ts=4 sw=4 expandtab: */