summaryrefslogtreecommitdiffstats
path: root/src/query.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-31 16:54:11 +0000
committerDavid Robillard <d@drobilla.net>2011-01-31 16:54:11 +0000
commitd394e7d292c8cc686a11a08984e2d11d704cf329 (patch)
treeff01905f19fbd0333e5c82d60a5eb4abaedb2d2f /src/query.c
parent5872789853f4daba7d558c2a42b222862b45e269 (diff)
downloadlilv-d394e7d292c8cc686a11a08984e2d11d704cf329.tar.gz
lilv-d394e7d292c8cc686a11a08984e2d11d704cf329.tar.bz2
lilv-d394e7d292c8cc686a11a08984e2d11d704cf329.zip
Typedef away most use of librdf_node.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2890 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/query.c')
-rw-r--r--src/query.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/query.c b/src/query.c
index 085ed04..9d1088e 100644
--- a/src/query.c
+++ b/src/query.c
@@ -30,10 +30,10 @@
SLV2Matches
-slv2_plugin_find_statements(SLV2Plugin plugin,
- librdf_node* subject,
- librdf_node* predicate,
- librdf_node* object)
+slv2_plugin_find_statements(SLV2Plugin plugin,
+ SLV2Node subject,
+ SLV2Node predicate,
+ SLV2Node object)
{
slv2_plugin_load_if_necessary(plugin);
librdf_statement* q = librdf_new_statement_from_nodes(
@@ -51,10 +51,10 @@ SLV2Values
slv2_values_from_stream_i18n(SLV2Plugin p,
SLV2Matches stream)
{
- SLV2Values values = slv2_values_new();
- librdf_node* nolang = NULL;
+ SLV2Values values = slv2_values_new();
+ SLV2Node nolang = NULL;
FOREACH_MATCH(stream) {
- librdf_node* value = MATCH_OBJECT(stream);
+ SLV2Node value = MATCH_OBJECT(stream);
if (librdf_node_is_literal(value)) {
const char* lang = librdf_node_get_literal_value_language(value);
if (lang) {