aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 433f38e8..cd2a7031 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -712,6 +712,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