gio_sys

Type Alias GSocketSourceFunc

Source
pub type GSocketSourceFunc = Option<unsafe extern "C" fn(_: *mut GSocket, _: GIOCondition, _: gpointer) -> gboolean>;

Aliased Type§

enum GSocketSourceFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut GSocket, _: u32, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut GSocket, _: u32, _: *mut c_void) -> i32)

Some value of type T.