aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-04-29 18:36:11 +0200
committerDavid Robillard <d@drobilla.net>2018-12-30 17:58:17 -0500
commit7b2134120a106997b1d246798b73d6d64bd4e83e (patch)
treeb81cad6a4e1eee2d6c87d72184fc55b4fa66f5dc /serd/serd.h
parent4057fae5851aafbdcd42c99f86f73f985a55ab41 (diff)
downloadserd-7b2134120a106997b1d246798b73d6d64bd4e83e.tar.gz
serd-7b2134120a106997b1d246798b73d6d64bd4e83e.tar.bz2
serd-7b2134120a106997b1d246798b73d6d64bd4e83e.zip
Add blank node API
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index c3ba5268..3ecd6e98 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -493,6 +493,16 @@ serd_node_new_literal(const char* str,
const char* lang);
/**
+ Create a new blank node.
+
+ Note this function measures `str`, which is a common bottleneck.
+ Use sord_node_from_serd_node() instead if `str` is already measured.
+*/
+SERD_API
+SerdNode*
+serd_node_new_blank(const char* str);
+
+/**
Return a deep copy of `node`.
*/
SERD_API