diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 17:56:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-25 22:12:46 +0100 |
commit | 5683b00d0487f9ae7710653a03523714f6ff50ee (patch) | |
tree | 25aae24944da934982fc88e33bff3fff99579d95 /serd | |
parent | 54ceea1115d9dfd77542d9b3551277b499c41d1f (diff) | |
download | serd-5683b00d0487f9ae7710653a03523714f6ff50ee.tar.gz serd-5683b00d0487f9ae7710653a03523714f6ff50ee.tar.bz2 serd-5683b00d0487f9ae7710653a03523714f6ff50ee.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 6228211b..41b03fbd 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -750,6 +750,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 |