diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 17:56:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:03:50 -0500 |
commit | c4df0038bcfba1676bbaaa98badd241ec7d0b55e (patch) | |
tree | ac16f53705066640efa3fd7eaaaf888923252017 /include | |
parent | 1752a00ebefb22564fb805d4c89deb39ec5e218b (diff) | |
download | serd-c4df0038bcfba1676bbaaa98badd241ec7d0b55e.tar.gz serd-c4df0038bcfba1676bbaaa98badd241ec7d0b55e.tar.bz2 serd-c4df0038bcfba1676bbaaa98badd241ec7d0b55e.zip |
Add serd_world_get_blank()
Diffstat (limited to 'include')
-rw-r--r-- | include/serd/serd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index a04f1c8f..3be32a65 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -869,6 +869,16 @@ void serd_world_free(SerdWorld* SERD_NULLABLE 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_NONNULL +serd_world_get_blank(SerdWorld* SERD_NONNULL world); + +/** Set a function to be called when errors occur. The `error_func` will be called with `handle` as its first argument. If |