Skip to main content

pio_package_to_multiconductor_network

Function pio_package_to_multiconductor_network 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_package_to_multiconductor_network( pkg: *const PioPackage, errbuf: *mut c_char, errlen: usize, ) -> *mut PioDistNetwork
Expand description

Materialize the multiconductor payload of a package handle as an owned distribution network handle: the inverse of pio_package_from_multiconductor_network. Errors when the package holds a different model kind. The handle retains no source text, so a same format write is a fresh serialization. The handle retains the payload’s parse warnings, readable through pio_dist_warnings. Free with pio_dist_network_free.