aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd
diff options
context:
space:
mode:
Diffstat (limited to 'include/serd')
-rw-r--r--include/serd/serd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index a04f1c8f..3be32a65 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -869,6 +869,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