igraph_status_handler_t

Type Alias igraph_status_handler_t 

Source
pub type igraph_status_handler_t = Option<unsafe extern "C" fn(message: *const c_char, data: *mut c_void) -> igraph_error_t>;
Expand description

\typedef igraph_status_handler_t

The type of the igraph status handler functions \param message The status message. \param data Additional context, with user-defined semantics. Existing igraph functions pass a null pointer here. \return Error code. The current calculation will abort if you return anything else than \c IGRAPH_SUCCESS here.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.