Skip to main content

pio_schema_versions_json

Function pio_schema_versions_json 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pio_schema_versions_json() -> *mut c_char
Expand description

Report the schema version of each document format in this library, as owned JSON. Free the returned string with pio_string_free. Infallible.

PIO_ABI_VERSION does not cover these versions. A binding that mirrors one of them must read it from here and refuse a library it does not agree with. A key is null when the owning feature is not compiled in. Keys are only added over time. powerio_version covers every document powerio authors; bmopf_schema is the foreign schema this build speaks, whose version belongs to whoever owns it.