diff options
author | David Robillard <d@drobilla.net> | 2012-03-26 19:35:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-26 19:35:21 +0000 |
commit | fb451c37b08366e1fa52762fe928e607c599dee4 (patch) | |
tree | c4543decc6b0e82282053f7ccc5200c3fd4b42e5 /src/plugin.c | |
parent | 8a7e27e70ad3df76cc1fb69820bde805cba18c3e (diff) | |
download | lilv-fb451c37b08366e1fa52762fe928e607c599dee4.tar.gz lilv-fb451c37b08366e1fa52762fe928e607c599dee4.tar.bz2 lilv-fb451c37b08366e1fa52762fe928e607c599dee4.zip |
lilv_plugin_get_port_by_parameter() => lilv_plugin_get_port_by_designation().
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4109 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugin.c b/src/plugin.c index 164a212..fb181c8 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -611,9 +611,9 @@ lilv_plugin_get_port_by_property(const LilvPlugin* plugin, LILV_API LilvPort* -lilv_plugin_get_port_by_parameter(const LilvPlugin* plugin, - const LilvNode* port_class, - const LilvNode* parameter) +lilv_plugin_get_port_by_designation(const LilvPlugin* plugin, + const LilvNode* port_class, + const LilvNode* designation) { LilvWorld* world = plugin->world; lilv_plugin_load_ports_if_necessary(plugin); @@ -622,8 +622,8 @@ lilv_plugin_get_port_by_parameter(const LilvPlugin* plugin, SordIter* iter = lilv_world_query_internal( world, port->node, - world->uris.lv2_isParameter, - parameter->val.uri_val); + world->uris.lv2_designation, + designation->val.uri_val); const bool found = !sord_iter_end(iter) && lilv_port_is_a(plugin, port, port_class); |