summaryrefslogtreecommitdiffstats
path: root/src/world.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-28 00:19:34 +0000
committerDavid Robillard <d@drobilla.net>2011-04-28 00:19:34 +0000
commit6259cdfd5365898a3be6e2967714e610b93acee2 (patch)
tree2efb66fccf105deb41b5b897056dd67b142ca672 /src/world.c
parent03e318d5d80b0cfda96efc58e270693eeabe9a79 (diff)
downloadlilv-6259cdfd5365898a3be6e2967714e610b93acee2.tar.gz
lilv-6259cdfd5365898a3be6e2967714e610b93acee2.tar.bz2
lilv-6259cdfd5365898a3be6e2967714e610b93acee2.zip
Update for new Sord API.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3202 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r--src/world.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/world.c b/src/world.c
index 26114e3..7503b0f 100644
--- a/src/world.c
+++ b/src/world.c
@@ -199,12 +199,12 @@ slv2_world_set_option(SLV2World world,
}
static SLV2Matches
-slv2_world_find_statements(SLV2World world,
- SordModel model,
- SLV2Node subject,
- SLV2Node predicate,
- SLV2Node object,
- SLV2Node graph)
+slv2_world_find_statements(SLV2World world,
+ SordModel* model,
+ SLV2Node subject,
+ SLV2Node predicate,
+ SLV2Node object,
+ SLV2Node graph)
{
SordQuad pat = { subject, predicate, object, graph };
return sord_find(model, pat);
@@ -350,9 +350,9 @@ slv2_world_add_plugin(SLV2World world,
}
static void
-slv2_world_load_dyn_manifest(SLV2World world,
- const SordNode bundle_node,
- SerdNode manifest_uri)
+slv2_world_load_dyn_manifest(SLV2World world,
+ SordNode* bundle_node,
+ SerdNode manifest_uri)
{
#ifdef SLV2_DYN_MANIFEST
if (!world->opt.dyn_manifest) {
@@ -462,7 +462,7 @@ slv2_world_load_bundle(SLV2World world, SLV2Value bundle_uri)
return;
}
- const SordNode bundle_node = bundle_uri->val.uri_val;
+ SordNode* bundle_node = bundle_uri->val.uri_val;
SerdNode manifest_uri = slv2_new_uri_relative_to_base(
(const uint8_t*)"manifest.ttl",