Type Alias GSimpleAsyncThreadFunc

Source
pub type GSimpleAsyncThreadFunc = Option<unsafe extern "C" fn(res: *mut GSimpleAsyncResult, object: *mut GObject, cancellable: *mut GCancellable)>;
Expand description

GSimpleAsyncThreadFunc: @res: a #GSimpleAsyncResult. @object: a #GObject. @cancellable: optional #GCancellable object, %NULL to ignore.

Simple thread function that runs an asynchronous operation and checks for cancellation.

Aliased Type§

enum GSimpleAsyncThreadFunc {
    None,
    Some(unsafe extern "C" fn(*mut _GSimpleAsyncResult, *mut _GObject, *mut _GCancellable)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _GSimpleAsyncResult, *mut _GObject, *mut _GCancellable))

Some value of type T.