summaryrefslogtreecommitdiffstats
path: root/lilv/lilv.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-11 23:10:03 +0000
committerDavid Robillard <d@drobilla.net>2011-11-11 23:10:03 +0000
commit588cc25cc9c80ba8b1aafe5f65746d80f9ef54a5 (patch)
treefaf9c2025e26ed0e1ddf3cc556a9cb39c2b187d2 /lilv/lilv.h
parent9370aabc30ac2498b499eac4c26d3580f5ecddfa (diff)
downloadlilv-588cc25cc9c80ba8b1aafe5f65746d80f9ef54a5.tar.gz
lilv-588cc25cc9c80ba8b1aafe5f65746d80f9ef54a5.tar.bz2
lilv-588cc25cc9c80ba8b1aafe5f65746d80f9ef54a5.zip
Add lilv_plugin_has_extension_data.
Add tests for extension data functions. Tolerate (ignore) plugins with broken data with "gaps" in port indices. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3611 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lilv/lilv.h')
-rw-r--r--lilv/lilv.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h
index d5e0c8f..e748d1d 100644
--- a/lilv/lilv.h
+++ b/lilv/lilv.h
@@ -786,7 +786,15 @@ LilvNodes*
lilv_plugin_get_optional_features(const LilvPlugin* p);
/**
- Get the extension data implemented by a plugin.
+ Return whether or not a plugin provides a specific extension data.
+*/
+LILV_API
+bool
+lilv_plugin_has_extension_data(const LilvPlugin* p,
+ const LilvNode* uri);
+
+/**
+ Get a sequence of all extension data provided by a plugin.
This can be used to find which URIs lilv_instance_get_extension_data()
will return a value for without instantiating the plugin.
*/