summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-12 19:53:08 +0000
committerDavid Robillard <d@drobilla.net>2011-02-12 19:53:08 +0000
commit053f1f082fe2603949050da99a76e6e799335c22 (patch)
treecf30776758aabc39b346f5f72b4286f6b9389d09 /src
parenta4b1d7318f7cfc752ac3a8858006c0d6c796553e (diff)
downloadlilv-053f1f082fe2603949050da99a76e6e799335c22.tar.gz
lilv-053f1f082fe2603949050da99a76e6e799335c22.tar.bz2
lilv-053f1f082fe2603949050da99a76e6e799335c22.zip
Wrap rest of API (with a few troublesome exceptions).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2942 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/world.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/world.c b/src/world.c
index f1c02bb..d24bad6 100644
--- a/src/world.c
+++ b/src/world.c
@@ -689,3 +689,14 @@ slv2_world_get_plugins_by_filter(SLV2World world, bool (*include)(SLV2Plugin))
return result;
}
+
+SLV2_API
+SLV2Plugin
+slv2_world_get_plugin_by_uri_string(SLV2World world,
+ const char* uri)
+{
+ SLV2Value uri_val = slv2_value_new_uri(world, uri);
+ SLV2Plugin plugin = slv2_plugins_get_by_uri(world->plugins, uri_val);
+ slv2_value_free(uri_val);
+ return plugin;
+}