From c146a5d866ab26bcf277726109b7f1f91cce5e28 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 Apr 2011 04:46:31 +0000 Subject: Update for new Sord API. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3208 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugin.c') diff --git a/src/plugin.c b/src/plugin.c index 7b22707..5de6a1a 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -473,7 +473,7 @@ slv2_plugin_get_value_for_subject(SLV2Plugin p, return NULL; } - SLV2Node subject_node = (slv2_value_is_uri(subject)) + SordNode* subject_node = (slv2_value_is_uri(subject)) ? slv2_node_copy(subject->val.uri_val) : sord_new_blank(p->world->world, (const uint8_t*)slv2_value_as_blank(subject)); @@ -698,7 +698,7 @@ slv2_plugin_get_port_by_symbol(SLV2Plugin p, static SLV2Node slv2_plugin_get_author(SLV2Plugin p) { - SLV2Node doap_maintainer = sord_new_uri( + SordNode* doap_maintainer = sord_new_uri( p->world->world, NS_DOAP "maintainer"); SLV2Matches maintainers = slv2_plugin_find_statements( @@ -769,8 +769,8 @@ SLV2_API SLV2UIs slv2_plugin_get_uis(SLV2Plugin p) { - SLV2Node ui_ui_node = sord_new_uri(p->world->world, NS_UI "ui"); - SLV2Node ui_binary_node = sord_new_uri(p->world->world, NS_UI "binary"); + SordNode* ui_ui_node = sord_new_uri(p->world->world, NS_UI "ui"); + SordNode* ui_binary_node = sord_new_uri(p->world->world, NS_UI "binary"); SLV2UIs result = slv2_uis_new(); SLV2Matches uis = slv2_plugin_find_statements( -- cgit v1.2.1