diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 17:56:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:52:38 -0500 |
commit | 9a2f489a7f6bc60e3f8ccc3881f3fbf8ebd87eda (patch) | |
tree | 1cfa97351e8e68a0a6c563cf4efd7ed79c460ae6 /serd | |
parent | 83ee262f7a952bf59b327982f5e66115036f9259 (diff) | |
download | serd-9a2f489a7f6bc60e3f8ccc3881f3fbf8ebd87eda.tar.gz serd-9a2f489a7f6bc60e3f8ccc3881f3fbf8ebd87eda.tar.bz2 serd-9a2f489a7f6bc60e3f8ccc3881f3fbf8ebd87eda.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 5f1c4929..aceb9cdc 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -761,6 +761,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 |