Skip to main content

pio_convert_file

Function pio_convert_file 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pio_convert_file( path: *const c_char, to: *const c_char, from: *const c_char, warnbuf: *mut c_char, warnlen: usize, errbuf: *mut c_char, errlen: usize, ) -> *mut c_char
Expand description

Convert path to format to (optionally forcing the source via from). Returns the converted text as an owned C string (free with pio_string_free), NULL on error. Fidelity warnings, if any, are written \n-joined into warnbuf.