Function sdl2_sys::SDL_SetHintWithPriority [] [src]

pub unsafe extern "C" fn SDL_SetHintWithPriority(
    name: *const c_char,
    value: *const c_char,
    priority: SDL_HintPriority
) -> SDL_bool

\brief Set a hint with a specific priority

The priority controls the behavior when setting a hint that already has a value. Hints will replace existing hints of their priority and lower. Environment variables are considered to have override priority.

\return SDL_TRUE if the hint was set, SDL_FALSE otherwise