aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-26 11:54:21 -0500
committerDavid Robillard <d@drobilla.net>2020-06-21 18:12:04 +0200
commitd68795cb7d79ed4b6b92386f548524ae518f41b9 (patch)
tree8f64116a021d27b90a68f23bbcf8db5ab44033f7 /serd
parent5c0c09d8ecbdc17452b3bd2c0dc2fc7bb555e5b8 (diff)
downloadserd-d68795cb7d79ed4b6b92386f548524ae518f41b9.tar.gz
serd-d68795cb7d79ed4b6b92386f548524ae518f41b9.tar.bz2
serd-d68795cb7d79ed4b6b92386f548524ae518f41b9.zip
Add serd_new_boolean()
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h5
1 files changed, 5 insertions, 0 deletions
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