diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 17:56:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 8b20b3e3bfd186b7b0bbd082a979c7fb86a52479 (patch) | |
tree | a4a8d9722f751ad8dab1e7c021b86f106d33dee6 /serd | |
parent | 40c90e819d20d6933504ccb639896be223e10c3c (diff) | |
download | serd-8b20b3e3bfd186b7b0bbd082a979c7fb86a52479.tar.gz serd-8b20b3e3bfd186b7b0bbd082a979c7fb86a52479.tar.bz2 serd-8b20b3e3bfd186b7b0bbd082a979c7fb86a52479.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 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 |