diff options
author | David Robillard <d@drobilla.net> | 2018-12-26 11:54:21 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:03:43 -0500 |
commit | 2ddf10fb8bfabff3ecdbe9ea866a905631ec2866 (patch) | |
tree | 112a6068678ec9696d1ede59db0e461d920ca4ab /include | |
parent | c90c662f85ca1a36794a0404b2101a72de020ca3 (diff) | |
download | serd-2ddf10fb8bfabff3ecdbe9ea866a905631ec2866.tar.gz serd-2ddf10fb8bfabff3ecdbe9ea866a905631ec2866.tar.bz2 serd-2ddf10fb8bfabff3ecdbe9ea866a905631ec2866.zip |
Add serd_new_boolean()
Diffstat (limited to 'include')
-rw-r--r-- | include/serd/serd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index 2dd551fd..80a12452 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -598,6 +598,11 @@ SERD_API SerdNode* SERD_ALLOCATED serd_new_file_uri(SerdStringView path, SerdStringView hostname); +/// Create a new node by serialising `b` into an xsd:boolean string +SERD_API +SerdNode* SERD_ALLOCATED +serd_new_boolean(bool b); + /** Create a new canonical xsd:decimal literal. |