Type Alias sdl2_sys::SDL_LogOutputFunction

source ·
pub type SDL_LogOutputFunction = Option<unsafe extern "C" fn(userdata: *mut c_void, category: c_int, priority: SDL_LogPriority, message: *const c_char)>;
Expand description

\brief The prototype for the log output function

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.