diff options
author | David Robillard <d@drobilla.net> | 2012-11-23 06:02:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-11-23 06:02:09 +0000 |
commit | 897d87d03ff35a9b6846364cd1a1cbf6104db6f1 (patch) | |
tree | 3f28058fcc34bb7a72b3a50da097aac6fb6ce2ca | |
parent | 6ce5332b4e27d4fec3ed317386ea6839d217f7fd (diff) | |
download | lilv-897d87d03ff35a9b6846364cd1a1cbf6104db6f1.tar.gz lilv-897d87d03ff35a9b6846364cd1a1cbf6104db6f1.tar.bz2 lilv-897d87d03ff35a9b6846364cd1a1cbf6104db6f1.zip |
lilv_world_query_values_internal() => lilv_world_find_nodes_internal().
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4861 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/lilv_internal.h | 8 | ||||
-rw-r--r-- | src/plugin.c | 20 | ||||
-rw-r--r-- | src/port.c | 2 | ||||
-rw-r--r-- | src/world.c | 10 |
4 files changed, 20 insertions, 20 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h index 60dae6a..49a7440 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -317,10 +317,10 @@ lilv_world_ask_internal(LilvWorld* world, const SordNode* object); LilvNodes* -lilv_world_query_values_internal(LilvWorld* world, - const SordNode* subject, - const SordNode* predicate, - const SordNode* object); +lilv_world_find_nodes_internal(LilvWorld* world, + const SordNode* subject, + const SordNode* predicate, + const SordNode* object); #define FOREACH_MATCH(iter) \ for (; !sord_iter_end(iter); sord_iter_next(iter)) diff --git a/src/plugin.c b/src/plugin.c index c284d98..3386e02 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -405,7 +405,7 @@ lilv_plugin_get_value_internal(const LilvPlugin* p, const SordNode* predicate) { lilv_plugin_load_if_necessary(p); - return lilv_world_query_values_internal( + return lilv_world_find_nodes_internal( p->world, p->plugin_uri->node, predicate, NULL); } @@ -709,20 +709,20 @@ LILV_API LilvNodes* lilv_plugin_get_optional_features(const LilvPlugin* p) { - return lilv_world_query_values_internal(p->world, - p->plugin_uri->node, - p->world->uris.lv2_optionalFeature, - NULL); + return lilv_world_find_nodes_internal(p->world, + p->plugin_uri->node, + p->world->uris.lv2_optionalFeature, + NULL); } LILV_API LilvNodes* lilv_plugin_get_required_features(const LilvPlugin* p) { - return lilv_world_query_values_internal(p->world, - p->plugin_uri->node, - p->world->uris.lv2_requiredFeature, - NULL); + return lilv_world_find_nodes_internal(p->world, + p->plugin_uri->node, + p->world->uris.lv2_requiredFeature, + NULL); } LILV_API @@ -948,7 +948,7 @@ LilvNodes* lilv_plugin_get_related(const LilvPlugin* plugin, const LilvNode* type) { LilvWorld* const world = plugin->world; - LilvNodes* const related = lilv_world_query_values_internal( + LilvNodes* const related = lilv_world_find_nodes_internal( world, NULL, world->uris.lv2_appliesTo, @@ -102,7 +102,7 @@ lilv_port_get_value_by_node(const LilvPlugin* p, const LilvPort* port, const SordNode* predicate) { - return lilv_world_query_values_internal( + return lilv_world_find_nodes_internal( p->world, port->node, predicate, diff --git a/src/world.c b/src/world.c index 121f59c..773a864 100644 --- a/src/world.c +++ b/src/world.c @@ -194,7 +194,7 @@ lilv_world_find_nodes(LilvWorld* world, return NULL; } - return lilv_world_query_values_internal( + return lilv_world_find_nodes_internal( world, subject ? subject->node : NULL, predicate->node, @@ -220,10 +220,10 @@ lilv_world_ask_internal(LilvWorld* world, } LilvNodes* -lilv_world_query_values_internal(LilvWorld* world, - const SordNode* subject, - const SordNode* predicate, - const SordNode* object) +lilv_world_find_nodes_internal(LilvWorld* world, + const SordNode* subject, + const SordNode* predicate, + const SordNode* object) { return lilv_nodes_from_stream_objects( world, |