diff options
author | David Robillard <d@drobilla.net> | 2011-04-28 04:46:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-28 04:46:31 +0000 |
commit | c146a5d866ab26bcf277726109b7f1f91cce5e28 (patch) | |
tree | 5f08fdf69c9c0849d3b2093acab19639301363cb /src/plugin.c | |
parent | 58fc14d5a453b72c4df78808870d604ca378668a (diff) | |
download | lilv-c146a5d866ab26bcf277726109b7f1f91cce5e28.tar.gz lilv-c146a5d866ab26bcf277726109b7f1f91cce5e28.tar.bz2 lilv-c146a5d866ab26bcf277726109b7f1f91cce5e28.zip |
Update for new Sord API.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3208 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 8 |
1 files changed, 4 insertions, 4 deletions
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( |