include/SDL.h
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
   116 /* This function loads the SDL dynamically linked library and initializes 
   116 /* This function loads the SDL dynamically linked library and initializes 
   117  * the subsystems specified by 'flags' (and those satisfying dependencies)
   117  * the subsystems specified by 'flags' (and those satisfying dependencies)
   118  * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup
   118  * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup
   119  * signal handlers for some commonly ignored fatal signals (like SIGSEGV)
   119  * signal handlers for some commonly ignored fatal signals (like SIGSEGV)
   120  */
   120  */
   121 extern DECLSPEC int SDLCALL SDL_Init (Uint32 flags);
   121 extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags);
   122 
   122 
   123 /* This function initializes specific SDL subsystems */
   123 /* This function initializes specific SDL subsystems */
   124 extern DECLSPEC int SDLCALL SDL_InitSubSystem (Uint32 flags);
   124 extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags);
   125 
   125 
   126 /* This function cleans up specific SDL subsystems */
   126 /* This function cleans up specific SDL subsystems */
   127 extern DECLSPEC void SDLCALL SDL_QuitSubSystem (Uint32 flags);
   127 extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags);
   128 
   128 
   129 /* This function returns mask of the specified subsystems which have
   129 /* This function returns mask of the specified subsystems which have
   130    been initialized.
   130    been initialized.
   131    If 'flags' is 0, it returns a mask of all initialized subsystems.
   131    If 'flags' is 0, it returns a mask of all initialized subsystems.
   132 */
   132 */
   133 extern DECLSPEC Uint32 SDLCALL SDL_WasInit (Uint32 flags);
   133 extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags);
   134 
   134 
   135 /* This function cleans up all initialized subsystems and unloads the
   135 /* This function cleans up all initialized subsystems and unloads the
   136  * dynamically linked library.  You should call it upon all exit conditions.
   136  * dynamically linked library.  You should call it upon all exit conditions.
   137  */
   137  */
   138 extern DECLSPEC void SDLCALL SDL_Quit (void);
   138 extern DECLSPEC void SDLCALL SDL_Quit(void);
   139 
   139 
   140 /* Ends C function definitions when using C++ */
   140 /* Ends C function definitions when using C++ */
   141 #ifdef __cplusplus
   141 #ifdef __cplusplus
   142 /* *INDENT-OFF* */
   142 /* *INDENT-OFF* */
   143 }
   143 }