igraph_allow_interruption

Function igraph_allow_interruption 

Source
pub unsafe extern "C" fn igraph_allow_interruption() -> igraph_bool_t
Expand description

\function igraph_allow_interruption

This is the function which is called (usually via the \ref IGRAPH_ALLOW_INTERRUPTION macro) if \a igraph is checking for interruption requests.

\return false if the calculation should go on, true if the calculation should be interrupted.