aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-26 11:54:21 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commitfe0b6d5d4d78cb31e1bf2381198890d070e46ed1 (patch)
tree98fdfcb34ee19b766a1ca0d724472522148d9c03 /include
parent413b4d1f58bdf1d6aed785ae9b076c7b7b9a7350 (diff)
downloadserd-fe0b6d5d4d78cb31e1bf2381198890d070e46ed1.tar.gz
serd-fe0b6d5d4d78cb31e1bf2381198890d070e46ed1.tar.bz2
serd-fe0b6d5d4d78cb31e1bf2381198890d070e46ed1.zip
Add serd_new_boolean()
Diffstat (limited to 'include')
-rw-r--r--include/serd/node.h6
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