Function sdl2_sys::SDL_WasInit

source ·
pub unsafe extern "C" fn SDL_WasInit(flags: Uint32) -> Uint32
Expand description

Get a mask of the specified subsystems which are currently initialized.

\param flags any of the flags used by SDL_Init(); see SDL_Init for details. \returns a mask of all initialized subsystems if flags is 0, otherwise it returns the initialization status of the specified subsystems.

     The return value does not include SDL_INIT_NOPARACHUTE.

\since This function is available since SDL 2.0.0.

\sa SDL_Init \sa SDL_InitSubSystem