From f0f4bfb37f36fce6d6e216a90162b81691f61e83 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 May 2018 17:56:27 +0200 Subject: Add serd_world_get_blank() --- include/serd/serd.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/serd') 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 @@ -870,6 +870,16 @@ SERD_API 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. -- cgit v1.2.1