diff options
author | David Robillard <d@drobilla.net> | 2018-12-26 11:54:21 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-01-05 17:12:38 +0100 |
commit | 31b57fdf337fc906151bb597a0e6ceede374620b (patch) | |
tree | 6b825b63f26a2fc1b203ce1663e156c0b67f9609 /serd | |
parent | d4e594b0825391db76d72fbf092451d86ebe66c2 (diff) | |
download | serd-31b57fdf337fc906151bb597a0e6ceede374620b.tar.gz serd-31b57fdf337fc906151bb597a0e6ceede374620b.tar.bz2 serd-31b57fdf337fc906151bb597a0e6ceede374620b.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 d4aa5f65..8397aae7 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -664,6 +664,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 |