[][src]Function lv2_sys::lv2_dyn_manifest_open

pub unsafe extern "C" fn lv2_dyn_manifest_open(
    handle: *mut LV2_Dyn_Manifest_Handle,
    features: *const *const LV2_Feature
) -> c_int

Generate the dynamic manifest.

@param handle Pointer to an uninitialized dynamic manifest generator handle.

@param features NULL terminated array of LV2_Feature structs which represent the features the host supports. The dynamic manifest generator may refuse to (re)generate the dynamic manifest if required features are not found here (however hosts SHOULD NOT use this as a discovery mechanism, instead of reading the static manifest file). This array must always exist; if a host has no features, it MUST pass a single element array containing NULL.

@return 0 on success, otherwise a non-zero error code. The host SHOULD evaluate the result of the operation by examining the returned value and MUST NOT try to interpret the value of handle.