SDL standard library

Dependents:   H261_encoder

Embed: (wiki syntax)

« Back to documentation index

SDL.h File Reference

SDL.h File Reference

Main include header for the SDL library. More...

Go to the source code of this file.

Functions

DECLSPEC int SDLCALL SDL_Init (Uint32 flags)
 This function initializes the subsystems specified by flags Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup signal handlers for some commonly ignored fatal signals (like SIGSEGV).
DECLSPEC int SDLCALL SDL_InitSubSystem (Uint32 flags)
 This function initializes specific SDL subsystems.
DECLSPEC void SDLCALL SDL_QuitSubSystem (Uint32 flags)
 This function cleans up specific SDL subsystems.
DECLSPEC Uint32 SDLCALL SDL_WasInit (Uint32 flags)
 This function returns a mask of the specified subsystems which have previously been initialized.
DECLSPEC void SDLCALL SDL_Quit (void)
 This function cleans up all initialized subsystems.

Detailed Description

Main include header for the SDL library.

Definition in file SDL.h.


Function Documentation

DECLSPEC int SDLCALL SDL_Init ( Uint32  flags )

This function initializes the subsystems specified by flags Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup signal handlers for some commonly ignored fatal signals (like SIGSEGV).

DECLSPEC int SDLCALL SDL_InitSubSystem ( Uint32  flags )

This function initializes specific SDL subsystems.

DECLSPEC void SDLCALL SDL_Quit ( void   )

This function cleans up all initialized subsystems.

You should call it upon all exit conditions.

DECLSPEC void SDLCALL SDL_QuitSubSystem ( Uint32  flags )

This function cleans up specific SDL subsystems.

DECLSPEC Uint32 SDLCALL SDL_WasInit ( Uint32  flags )

This function returns a mask of the specified subsystems which have previously been initialized.

If flags is 0, it returns a mask of all initialized subsystems.