From e805c03be2bd1e9cee0ba5ce2c3f36f6fd913101 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') diff --git a/serd/serd.h b/serd/serd.h index 5ce097c0..9add3d13 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -748,6 +748,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