Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
- Loading branch information
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: */ |
Oops, something went wrong.