Skip to main content

pio_dist_capabilities_json

Function pio_dist_capabilities_json 

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

Return distribution capability flags as owned JSON. Free the returned string with pio_string_free. Only linked when the dist feature is compiled in; runtime loaders can either check pio_has_feature("dist") or probe for this symbol directly. The JSON schema is versioned separately from PIO_DIST_ABI_VERSION so new additive flags do not force a C signature change.