Skip to main content

pio_package_parse_str

Function pio_package_parse_str 

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

Parse in-memory .pio.json text into an opaque package handle. Returns NULL on error and writes the message into errbuf. Free the handle with pio_package_free.