aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-12 17:56:27 +0200
committerDavid Robillard <d@drobilla.net>2019-04-13 19:15:32 +0200
commite805c03be2bd1e9cee0ba5ce2c3f36f6fd913101 (patch)
treef44c37624181c7057443b3be5a96d36d7e7fcbed /serd
parent75e8cb67f5082abdffd8941a5255be9a22dd9cb7 (diff)
downloadserd-e805c03be2bd1e9cee0ba5ce2c3f36f6fd913101.tar.gz
serd-e805c03be2bd1e9cee0ba5ce2c3f36f6fd913101.tar.bz2
serd-e805c03be2bd1e9cee0ba5ce2c3f36f6fd913101.zip
Add serd_world_get_blank()
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 5ce097c0..9add3d13 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -749,6 +749,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