Function SDL_GetHintBoolean
pub unsafe extern "C" fn SDL_GetHintBoolean(
name: *const i8,
default_value: SDL_bool,
) -> SDL_bool
Available on crate feature
dep_sdl2
only.Expand description
Get the boolean value of a hint variable.
\param name the name of the hint to get the boolean value from \param default_value the value to return if the hint does not exist \returns the boolean value of a hint or the provided default value if the hint does not exist.
\since This function is available since SDL 2.0.5.
\sa SDL_GetHint \sa SDL_SetHint