[][src]Function lilv_sys::lilv_state_new_from_world

pub unsafe extern "C" fn lilv_state_new_from_world(
    world: *mut LilvWorld,
    map: *mut LV2UridMap,
    node: *const LilvNode
) -> *mut LilvState

Load a state snapshot from the world RDF model. This function can be used to load the default state of a plugin by passing the plugin URI as the subject parameter. @param world The world. @param map URID mapper. @param node The subject of the state description (e.g. a preset URI). @return A new LilvState which must be freed with lilv_state_free(), or NULL.