pub type igraph_clique_handler_t = Option<unsafe extern "C" fn(clique: *const igraph_vector_int_t, arg: *mut c_void) -> igraph_error_t>;Expand description
\typedef igraph_clique_handler_t \brief Type of clique handler functions.
Callback type, called when a clique was found.
See the details at the documentation of \ref igraph_cliques_callback().
\param clique The current clique. The clique is owned by the clique search routine. You do not need to destroy or free it if you do not want to store it; however, if you want to hold on to it for a longer period of time, you need to make a copy of it on your own and store the copy itself. \param arg This extra argument was passed to \ref igraph_cliques_callback() when it was called. \return Error code; \c IGRAPH_SUCCESS to continue the search or \c IGRAPH_STOP to stop the search without signaling an error.
Aliased Type§
pub enum igraph_clique_handler_t {
None,
Some(unsafe extern "C" fn(*const igraph_vector_int_t, *mut c_void) -> u32),
}