Type Alias sdl2_sys::SDL_HintCallback

source ·
pub type SDL_HintCallback = Option<unsafe extern "C" fn(userdata: *mut c_void, name: *const c_char, oldValue: *const c_char, newValue: *const c_char)>;
Expand description

\brief type definition of the hint callback function.

Aliased Type§

enum SDL_HintCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: *const i8, _: *const i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: *const i8, _: *const i8))

Some value of type T.