diff options
Diffstat (limited to 'include')
-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 2dd551fd..80a12452 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -598,6 +598,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 canonical xsd:decimal literal. |