From d68795cb7d79ed4b6b92386f548524ae518f41b9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 26 Dec 2018 11:54:21 -0500 Subject: Add serd_new_boolean() --- serd/serd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'serd/serd.h') diff --git a/serd/serd.h b/serd/serd.h index e1ae0aed..e82b8073 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -709,6 +709,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 -- cgit v1.2.1