diff options
Diffstat (limited to 'include/serd')
-rw-r--r-- | include/serd/serd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index 697674c9..fdae8ac7 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -607,6 +607,11 @@ SERD_API SerdNode* SERD_ALLOCATED serd_new_file_uri(SerdStringView path, SerdStringView hostname); +/// Create a new node by serialising `b` into an xsd:boolean string +SERD_API +SerdNode* SERD_ALLOCATED +serd_new_boolean(bool b); + /** Create a new node by serialising `d` into an xsd:decimal string |