SDL_!WasInit?
NAME SYNOPSIS DESCRIPTION RETURN VALUE EXAMPLES SEE ALSO
SDL_!WasInit?- Check which subsystems are initialized
#include
Uint32 SDL_!WasInit?(Uint32 flags);
SDL_!WasInit? allows you to see which SDL subsytems have been initialized. flags is a bitwise OR'd combination of the subsystems you wish to check (see SDL_Init for a list of subsystem flags).
SDL_!WasInit? returns a bitwised OR'd combination of the initialized subsystems.
/* Here are several ways you can use SDL_!WasInit?() / / Get init data on all the subsystems */ Uint32 subsystem_init; subsystem_init=SDL_!WasInit?(SDL_INIT_EVERYTHING); if(subsystem_init
SDL_Init, SDL_Subsystem
One page links to SDL_WasInit(3):