diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 17:56:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-30 17:58:17 -0500 |
commit | f539637ea4dc40a8a2552f15092ea3abd69d5343 (patch) | |
tree | 8f28d1a53a41cc945f5c92bf879a59f16a4bb73f /serd | |
parent | 9c4bb09bd9fa42ca54c71e27f59e0cc81a528f37 (diff) | |
download | serd-f539637ea4dc40a8a2552f15092ea3abd69d5343.tar.gz serd-f539637ea4dc40a8a2552f15092ea3abd69d5343.tar.bz2 serd-f539637ea4dc40a8a2552f15092ea3abd69d5343.zip |
Add serd_world_get_blank()
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h index 6be31a2b..79cd53dc 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 |