Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.

  • Loading branch information
slouken committed Jul 10, 2006
1 parent 38ab2fa commit 466d3a402970e1ffe989ce2a075926d4880f0d82

File 35 of 693 in 466d3a4

@@ -58,17 +58,20 @@ extern C_LINKAGE int SDL_main(int argc, char *argv[]);

#include "begin_code.h"
#ifdef __cplusplus
/* *INDENT-OFF* */
extern "C" {
/* *INDENT-ON* */
#endif

/* This should be called from your WinMain() function, if any */
extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst);
/* This can also be called, but is no longer necessary */
extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
/* This can also be called, but is no longer necessary (SDL_Quit calls it) */
/* This can be called to set the application class at startup */
extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style,
void *hInst);
extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);

#ifdef __cplusplus
/* *INDENT-OFF* */
}
/* *INDENT-ON* */
#endif
#include "close_code.h"
#endif
@@ -78,7 +81,9 @@ extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);

#include "begin_code.h"
#ifdef __cplusplus
/* *INDENT-OFF* */
extern "C" {
/* *INDENT-ON* */
#endif

/* Forward declaration so we don't need to include QuickDraw.h */
@@ -88,11 +93,15 @@ struct QDGlobals;
extern DECLSPEC void SDLCALL SDL_InitQuickDraw(struct QDGlobals *the_qd);

#ifdef __cplusplus
/* *INDENT-OFF* */
}
/* *INDENT-ON* */
#endif
#include "close_code.h"
#endif

#endif /* Need to redefine main()? */

#endif /* _SDL_main_h */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 466d3a4

Please sign in to comment.