diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 17:56:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-05-27 18:23:15 +0200 |
commit | cc1378913b22737fc1abb81de15313099d005eae (patch) | |
tree | abbba65b63b991eae9add189ac990f331c25afaf /serd/serd.h | |
parent | 9143f8ece49e902dda34a5c99ae721543bfa0d33 (diff) | |
download | serd-cc1378913b22737fc1abb81de15313099d005eae.tar.gz serd-cc1378913b22737fc1abb81de15313099d005eae.tar.bz2 serd-cc1378913b22737fc1abb81de15313099d005eae.zip |
Add serd_world_get_blank()
Diffstat (limited to 'serd/serd.h')
-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 89f612a3..c765f8dd 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -721,6 +721,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 |