Penguin

SDL_!WasInit?

SDL_!WasInit?

NAME SYNOPSIS DESCRIPTION RETURN VALUE EXAMPLES SEE ALSO


NAME

SDL_!WasInit?- Check which subsystems are initialized

SYNOPSIS

#include

Uint32 SDL_!WasInit?(Uint32 flags);

DESCRIPTION

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).

RETURN VALUE

SDL_!WasInit? returns a bitwised OR'd combination of the initialized subsystems.

EXAMPLES

/* 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

SEE ALSO

SDL_Init, SDL_Subsystem


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.