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§
None
No value.
Some(unsafe extern "C" fn(*mut _GSimpleAsyncResult, *mut _GObject, *mut _GCancellable))
Some value of type T
.