summaryrefslogtreecommitdiffstats
path: root/src/state.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-08 18:54:16 +0000
committerDavid Robillard <d@drobilla.net>2012-03-08 18:54:16 +0000
commitc522e3be86b77a95719ea0fc38a078ff96f0077e (patch)
tree4711848855067dfaff898cc3d0521411a83470e5 /src/state.c
parent16dd9d7496ca907a68f9bae2aa92a5069fe9ef62 (diff)
downloadlilv-c522e3be86b77a95719ea0fc38a078ff96f0077e.tar.gz
lilv-c522e3be86b77a95719ea0fc38a078ff96f0077e.tar.bz2
lilv-c522e3be86b77a95719ea0fc38a078ff96f0077e.zip
Update for latest serd.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4035 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/state.c b/src/state.c
index 1d36f34..f87c9df 100644
--- a/src/state.c
+++ b/src/state.c
@@ -624,7 +624,7 @@ lilv_state_new_from_file(LilvWorld* world,
}
uint8_t* abs_path = (uint8_t*)lilv_path_absolute(path);
- SerdNode node = serd_node_new_file_uri(abs_path, NULL, NULL);
+ SerdNode node = serd_node_new_file_uri(abs_path, NULL, NULL, 0);
SerdEnv* env = serd_env_new(&node);
SordModel* model = sord_new(world->world, SORD_SPO, false);
SerdReader* reader = sord_new_reader(model, env, SERD_TURTLE, NULL);
@@ -745,8 +745,8 @@ add_state_to_manifest(const LilvNode* plugin_uri,
lilv_flock(fd, true);
- SerdNode file = serd_node_new_file_uri(USTR(state_path), 0, 0);
- SerdNode manifest = serd_node_new_file_uri(USTR(manifest_path), 0, 0);
+ SerdNode file = serd_node_new_file_uri(USTR(state_path), 0, 0, 0);
+ SerdNode manifest = serd_node_new_file_uri(USTR(manifest_path), 0, 0, 0);
SerdEnv* env = NULL;
SerdWriter* writer = ttl_file_writer(fd, &manifest, &env);
@@ -968,7 +968,7 @@ lilv_state_save(LilvWorld* world,
lilv_state_make_links(state, abs_dir);
// Write state to Turtle file
- SerdNode file = serd_node_new_file_uri(USTR(path), NULL, NULL);
+ SerdNode file = serd_node_new_file_uri(USTR(path), NULL, NULL, false);
SerdEnv* env = NULL;
SerdWriter* writer = ttl_file_writer(fd, &file, &env);