diff options
author | David Robillard <d@drobilla.net> | 2018-12-26 11:54:21 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 60bb4a81c03d6b0a08f9c858ff1a99bf3bcc602e (patch) | |
tree | 9905e430cf66ba4a8ffa4de9cc67e6d96ed878ad /serd | |
parent | c4e1eb61f7b8262030344712537c8918f4949a20 (diff) | |
download | serd-60bb4a81c03d6b0a08f9c858ff1a99bf3bcc602e.tar.gz serd-60bb4a81c03d6b0a08f9c858ff1a99bf3bcc602e.tar.bz2 serd-60bb4a81c03d6b0a08f9c858ff1a99bf3bcc602e.zip |
Add serd_new_boolean()
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h index 433f38e8..cd2a7031 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -712,6 +712,11 @@ SERD_API SerdNode* serd_new_integer(int64_t i, const SerdNode* datatype); +/// Create a new node by serialising `b` into an xsd:boolean string +SERD_API +SerdNode* +serd_new_boolean(bool b); + /** Create a node by serialising `buf` into an xsd:base64Binary string |