diff options
Diffstat (limited to 'include/serd/node.h')
-rw-r--r-- | include/serd/node.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/serd/node.h b/include/serd/node.h index 5a3990b0..73569b44 100644 --- a/include/serd/node.h +++ b/include/serd/node.h @@ -167,6 +167,12 @@ SERD_API SerdNode* SERD_ALLOCATED serd_new_file_uri(SerdStringView path, SerdStringView hostname); /** + Create a new canonical xsd:boolean node. +*/ +SERD_API SerdNode* SERD_ALLOCATED +serd_new_boolean(bool b); + +/** Create a new canonical xsd:decimal literal. The resulting node will always contain a '.', start with a digit, and end |