const void* LV2Module::getExtensionData (const String& uri) const { return instance ? lilv_instance_get_extension_data (instance, uri.toUTF8()) : nullptr; }
void Lv2Worker::setInstance(LilvInstance *instance) { handle = instance->lv2_handle; interface = (LV2_Worker_Interface*)lilv_instance_get_extension_data(instance, LV2_WORKER__interface); }