Type Alias GTestLogFatalFunc

Source
pub type GTestLogFatalFunc = Option<unsafe extern "C" fn(log_domain: *const gchar, log_level: GLogLevelFlags, message: *const gchar, user_data: gpointer) -> gboolean>;
Expand description

GTestLogFatalFunc: @log_domain: the log domain of the message @log_level: the log level of the message (including the fatal and recursion flags) @message: the message to process @user_data: user data, set in g_test_log_set_fatal_handler()

Specifies the prototype of fatal log handler functions.

Returns: %TRUE if the program should abort, %FALSE otherwise

Since: 2.22

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.