igraph_warning_handler_t

Type Alias igraph_warning_handler_t 

Source
pub type igraph_warning_handler_t = Option<unsafe extern "C" fn(reason: *const c_char, file: *const c_char, line: c_int)>;
Expand description

\typedef igraph_warning_handler_t \brief The type of igraph warning handler functions.

Currently it is defined to have the same type as \ref igraph_error_handler_t, although the last (error code) argument is not used.

Aliased Type§

pub enum igraph_warning_handler_t {
    None,
    Some(unsafe extern "C" fn(*const i8, *const i8, i32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, *const i8, i32))

Some value of type T.