From 15f9b09510615f1732e7eb043ac587673b4edc4a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 31 Jan 2011 01:34:19 +0000 Subject: Reduce heavy use of librdf_new_node_from* functions. Store a librdf_node, rather than a librdf_uri, for a URI SLV2Value (further reducing the use of librdf_uri). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2882 a436a847-0d15-0410-975c-d299462d15a1 --- src/port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/port.c') diff --git a/src/port.c b/src/port.c index 28a5036..19692cc 100644 --- a/src/port.c +++ b/src/port.c @@ -70,7 +70,7 @@ slv2_port_get_node(SLV2Plugin p, { SLV2Matches ports = slv2_plugin_find_statements( p, - librdf_new_node_from_uri(p->world->world, p->plugin_uri->val.uri_val), + librdf_new_node_from_node(p->plugin_uri->val.uri_val), librdf_new_node_from_node(p->world->lv2_port_node), NULL); librdf_node* ret = NULL; -- cgit v1.2.1