GSourceFuncs

Type Alias GSourceFuncs 

Source
pub type GSourceFuncs = _GSourceFuncs;

Aliased Type§

#[repr(C)]
pub struct GSourceFuncs { pub prepare: Option<unsafe extern "C" fn(*mut _GSource, *mut i32) -> i32>, pub check: Option<unsafe extern "C" fn(*mut _GSource) -> i32>, pub dispatch: Option<unsafe extern "C" fn(*mut _GSource, Option<unsafe extern "C" fn(*mut c_void) -> i32>, *mut c_void) -> i32>, pub finalize: Option<unsafe extern "C" fn(*mut _GSource)>, pub closure_callback: Option<unsafe extern "C" fn(*mut c_void) -> i32>, pub closure_marshal: Option<unsafe extern "C" fn()>, }

Fields§

§prepare: Option<unsafe extern "C" fn(*mut _GSource, *mut i32) -> i32>§check: Option<unsafe extern "C" fn(*mut _GSource) -> i32>§dispatch: Option<unsafe extern "C" fn(*mut _GSource, Option<unsafe extern "C" fn(*mut c_void) -> i32>, *mut c_void) -> i32>§finalize: Option<unsafe extern "C" fn(*mut _GSource)>§closure_callback: Option<unsafe extern "C" fn(*mut c_void) -> i32>§closure_marshal: Option<unsafe extern "C" fn()>