lilv_plugin_verify

Function lilv_plugin_verify 

Source
pub unsafe extern "C" fn lilv_plugin_verify(
    plugin: *const LilvPlugin,
) -> bool
Expand description

Check if plugin is valid. This is not a rigorous validator, but can be used to reject some malformed plugins that could cause bugs (e.g. plugins with missing required fields).

Note that normal hosts do NOT need to use this - lilv does not load invalid plugins into plugin lists. This is included for plugin testing utilities, etc. @return true iff plugin is valid.