#[no_mangle]
pub unsafe extern "C" fn forward_graph_number_of_demes(
    graph: *const OpaqueForwardGraph
) -> isize
Expand description

Get the total number of demes in the model

Returns

isize > 0 if the graph is not in an error state. Returns -1 otherwise.

Safety

graph must be a valid pointer