Type Alias GClosureMarshal

Source
pub type GClosureMarshal = Option<unsafe extern "C" fn(closure: *mut GClosure, return_value: *mut GValue, n_param_values: guint, param_values: *const GValue, invocation_hint: gpointer, marshal_data: gpointer)>;
Expand description

GClosureMarshal: @closure: the #GClosure to which the marshaller belongs @return_value: (nullable): a #GValue to store the return value. May be %NULL if the callback of @closure doesn’t return a value. @n_param_values: the length of the @param_values array @param_values: (array length=n_param_values): an array of #GValues holding the arguments on which to invoke the callback of @closure @invocation_hint: (nullable): the invocation hint given as the last argument to g_closure_invoke() @marshal_data: (nullable): additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()

The type used for marshaller functions.

Aliased Type§

enum GClosureMarshal {
    None,
    Some(unsafe extern "C" fn(*mut _GClosure, *mut _GValue, u32, *const _GValue, *mut c_void, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _GClosure, *mut _GValue, u32, *const _GValue, *mut c_void, *mut c_void))

Some value of type T.