Function sdl2_sys::SDL_GetHintBoolean
source ยท pub unsafe extern "C" fn SDL_GetHintBoolean(
name: *const c_char,
default_value: SDL_bool,
) -> SDL_bool
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