Type Alias GEqualFuncFull

Source
pub type GEqualFuncFull = Option<unsafe extern "C" fn(a: gconstpointer, b: gconstpointer, user_data: gpointer) -> gboolean>;
Expand description

GEqualFuncFull: @a: a value @b: a value to compare with @user_data: user data provided by the caller

Specifies the type of a function used to test two values for equality. The function should return %TRUE if both values are equal and %FALSE otherwise.

This is a version of #GEqualFunc which provides a @user_data closure from the caller.

Returns: %TRUE if @a = @b; %FALSE otherwise Since: 2.74

Aliased Type§

pub enum GEqualFuncFull {
    None,
    Some(unsafe extern "C" fn(*const c_void, *const c_void, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, *const c_void, *mut c_void) -> i32)

Some value of type T.