Skip to main content

pio_value_contingency_set

Function pio_value_contingency_set 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_value_contingency_set( value: *const PioValueHandle, error: *mut *mut PioError, ) -> *mut PioContingencySet
Expand description

Borrow the value as a PSS/E contingency description file without copying. The handle holds the module owner alive, so it stays readable after the module handle is released. A set taken this way carries no reader notes.

ยงSafety

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