summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-12 22:50:27 +0000
committerDavid Robillard <d@drobilla.net>2011-05-12 22:50:27 +0000
commitae1ec4476d7611d136ff770aafbc9bc5f49900bc (patch)
tree65aa7b9d04458c53bfe6ff56a3bdced7ae41174e /src
parent7ad607b432e1fac40a62ed28bc9ddeb044153fa5 (diff)
downloadlilv-ae1ec4476d7611d136ff770aafbc9bc5f49900bc.tar.gz
lilv-ae1ec4476d7611d136ff770aafbc9bc5f49900bc.tar.bz2
lilv-ae1ec4476d7611d136ff770aafbc9bc5f49900bc.zip
Update for new Sord API
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3256 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/plugin.c1
-rw-r--r--src/world.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/plugin.c b/src/plugin.c
index c8cf9c5..2182c0c 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -121,6 +121,7 @@ lilv_plugin_load(LilvPlugin* p)
sord_read_file(p->world->model,
env,
sord_node_get_string(data_uri_val->val.uri_val),
+ NULL,
p->bundle_uri->val.uri_val,
lilv_world_blank_node_prefix(p->world));
serd_env_free(env);
diff --git a/src/world.c b/src/world.c
index a7f25cc..696500a 100644
--- a/src/world.c
+++ b/src/world.c
@@ -506,7 +506,7 @@ lilv_world_load_bundle(LilvWorld* world, LilvNode* bundle_uri)
(const uint8_t*)sord_node_get_string(bundle_node));
SerdEnv* env = serd_env_new();
- if (!sord_read_file(world->model, env, manifest_uri.buf, bundle_node,
+ if (!sord_read_file(world->model, env, manifest_uri.buf, NULL, bundle_node,
lilv_world_blank_node_prefix(world))) {
serd_env_free(env);
return;
@@ -673,6 +673,7 @@ lilv_world_load_specifications(LilvWorld* world)
env,
(const uint8_t*)lilv_node_as_uri(file),
NULL,
+ NULL,
lilv_world_blank_node_prefix(world));
serd_env_free(env);
}