From ae1ec4476d7611d136ff770aafbc9bc5f49900bc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 May 2011 22:50:27 +0000 Subject: Update for new Sord API git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3256 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 1 + src/world.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.1