diff options
author | David Robillard <d@drobilla.net> | 2018-04-29 18:36:11 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-25 22:12:46 +0100 |
commit | 3a0be6d0e6ec005daf6bbac4570ea124b00cfe53 (patch) | |
tree | 2167ffbe2da72ed3f99212535c35dc08009e532e /serd | |
parent | 10521b725225ae2b53e4067d5aebd2da5b8ba46b (diff) | |
download | serd-3a0be6d0e6ec005daf6bbac4570ea124b00cfe53.tar.gz serd-3a0be6d0e6ec005daf6bbac4570ea124b00cfe53.tar.bz2 serd-3a0be6d0e6ec005daf6bbac4570ea124b00cfe53.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 8c353538..deca6d54 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -494,6 +494,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 |