diff options
author | David Robillard <d@drobilla.net> | 2018-12-26 11:54:21 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-20 10:26:55 -0500 |
commit | 8ab439b7bc50533da52a8be232950b615d75c532 (patch) | |
tree | ac5cdb858dcbf57865b2659b764955d24c110ad8 /serd | |
parent | fb0597c6023bc06b4d6db3738aec69213b9d2b26 (diff) | |
download | serd-8ab439b7bc50533da52a8be232950b615d75c532.tar.gz serd-8ab439b7bc50533da52a8be232950b615d75c532.tar.bz2 serd-8ab439b7bc50533da52a8be232950b615d75c532.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 7082901e..68d3fe8f 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -733,6 +733,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 |