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>2019-12-20 10:26:55 -0500
commit8ab439b7bc50533da52a8be232950b615d75c532 (patch)
treeac5cdb858dcbf57865b2659b764955d24c110ad8 /serd
parentfb0597c6023bc06b4d6db3738aec69213b9d2b26 (diff)
downloadserd-8ab439b7bc50533da52a8be232950b615d75c532.tar.gz
serd-8ab439b7bc50533da52a8be232950b615d75c532.tar.bz2
serd-8ab439b7bc50533da52a8be232950b615d75c532.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 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