diff options
author | David Robillard <d@drobilla.net> | 2018-04-29 18:36:11 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:52:33 -0500 |
commit | 5522f5ff705374d8d7bba3d21a05674640967c3e (patch) | |
tree | e192cc79b28b2bbf0cac85a7abbd5e3ae652bff0 /serd | |
parent | bff380b4dbeb28d21e71686d389f21403525150b (diff) | |
download | serd-5522f5ff705374d8d7bba3d21a05674640967c3e.tar.gz serd-5522f5ff705374d8d7bba3d21a05674640967c3e.tar.bz2 serd-5522f5ff705374d8d7bba3d21a05674640967c3e.zip |
Add blank node API
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h index 41ce9820..2a79ff25 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -486,6 +486,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 |