Skip to main content

pio_contingency_set_expand

Function pio_contingency_set_expand 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_contingency_set_expand( set: *const PioContingencySet, network: *const PioBalancedNetwork, subsystems: *const PioSubsystemSet, out_notes: *mut *mut PioDiagnostics, error: *mut *mut PioError, ) -> *mut PioContingencySet
Expand description

Expand every automatic specification of the set against one network and one subsystem set, producing a set whose cases are all explicit.

When out_notes is not NULL it receives an independently owned diagnostics handle holding one note per specification that expanded into nothing. A specification naming a subsystem the subsystem set does not state stays in the returned set.

ยงSafety

Pointers and handles must satisfy the crate-level safety requirements.