Skip to main content

MAX_NESTED_FINALLY_ENTRIES

Constant MAX_NESTED_FINALLY_ENTRIES 

Source
pub const MAX_NESTED_FINALLY_ENTRIES: usize = 50;
Expand description

The number of entries of igraph’s (per-thread) finally stack above which igraph_call! and Graph::init_with refuse to start a C call, see the module docs.

The stack holds 100 entries; keeping half of them free leaves room for the temporaries of any single igraph function (and its callbacks).