diff options
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 d57f1470..3d08eb07 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -871,6 +871,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 |