From 5683b00d0487f9ae7710653a03523714f6ff50ee 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() --- serd/serd.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'serd/serd.h') diff --git a/serd/serd.h b/serd/serd.h index 6228211b..41b03fbd 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -749,6 +749,16 @@ SERD_API 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. -- cgit v1.2.1