aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-12 17:56:27 +0200
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commit8b20b3e3bfd186b7b0bbd082a979c7fb86a52479 (patch)
treea4a8d9722f751ad8dab1e7c021b86f106d33dee6 /serd/serd.h
parent40c90e819d20d6933504ccb639896be223e10c3c (diff)
downloadserd-8b20b3e3bfd186b7b0bbd082a979c7fb86a52479.tar.gz
serd-8b20b3e3bfd186b7b0bbd082a979c7fb86a52479.tar.bz2
serd-8b20b3e3bfd186b7b0bbd082a979c7fb86a52479.zip
Add serd_world_get_blank()
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index b10d9ce9..513ac7dc 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -760,6 +760,16 @@ void
serd_world_free(SerdWorld* world);
/**
+ Return a unique blank node.
+
+ The returned node is valid only until the next time serd_world_get_blank()
+ is called or the world is destroyed.
+*/
+SERD_API
+const SerdNode*
+serd_world_get_blank(SerdWorld* world);
+
+/**
Set a function to be called when errors occur.
The `error_sink` will be called with `handle` as its first argument. If