diff options
author | David Robillard <d@drobilla.net> | 2018-12-26 11:54:21 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:05 -0500 |
commit | 8de05b1e2f7849e47c8ac82452a2e038664e510e (patch) | |
tree | 47b39b0e34525538db94b05854f39ad97dad0e92 /include/serd/serd.h | |
parent | 8975c152774ec7cb7f2ede3b4d08aa58acb512d9 (diff) | |
download | serd-8de05b1e2f7849e47c8ac82452a2e038664e510e.tar.gz serd-8de05b1e2f7849e47c8ac82452a2e038664e510e.tar.bz2 serd-8de05b1e2f7849e47c8ac82452a2e038664e510e.zip |
Add serd_new_boolean()
Diffstat (limited to 'include/serd/serd.h')
-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 697674c9..fdae8ac7 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -607,6 +607,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 node by serialising `d` into an xsd:decimal string |