diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 17:56:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:12:03 +0200 |
commit | e9418d9ff3416cfd6cf558cea36af0582d8567a6 (patch) | |
tree | 9d75db3b5ca903b819452ee6797051b7ed45d291 /serd | |
parent | 0ade0fecdd508af3e4d4d139a99034c906a4bdff (diff) | |
download | serd-e9418d9ff3416cfd6cf558cea36af0582d8567a6.tar.gz serd-e9418d9ff3416cfd6cf558cea36af0582d8567a6.tar.bz2 serd-e9418d9ff3416cfd6cf558cea36af0582d8567a6.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 dd6c805c..317eb106 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -756,6 +756,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 |