aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/node.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-01-02 22:52:39 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commitd76b4da8f420a320b830544288c555a284151773 (patch)
tree1dc784440d32338dfe20315274982e56bb4bfca5 /include/serd/node.h
parent828c1018f38bab9a930cecce64646366d051d39b (diff)
downloadserd-d76b4da8f420a320b830544288c555a284151773.tar.gz
serd-d76b4da8f420a320b830544288c555a284151773.tar.bz2
serd-d76b4da8f420a320b830544288c555a284151773.zip
Remove datatype arguments from integer and base64 constructors
Diffstat (limited to 'include/serd/node.h')
-rw-r--r--include/serd/node.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/serd/node.h b/include/serd/node.h
index f745af6d..b308a507 100644
--- a/include/serd/node.h
+++ b/include/serd/node.h
@@ -225,10 +225,9 @@ serd_new_float(float f);
xsd:integer.
@param i Integer value of literal.
- @param datatype Datatype of node, or NULL for xsd:integer.
*/
SERD_API SerdNode* ZIX_ALLOCATED
-serd_new_integer(int64_t i, const SerdNode* ZIX_NULLABLE datatype);
+serd_new_integer(int64_t i);
/**
Create a new canonical xsd:base64Binary literal.
@@ -238,12 +237,9 @@ serd_new_integer(int64_t i, const SerdNode* ZIX_NULLABLE datatype);
@param buf Raw binary data to encode in node.
@param size Size of `buf` in bytes.
- @param datatype Datatype of node, or null for xsd:base64Binary.
*/
SERD_API SerdNode* ZIX_ALLOCATED
-serd_new_base64(const void* ZIX_NONNULL buf,
- size_t size,
- const SerdNode* ZIX_NULLABLE datatype);
+serd_new_base64(const void* ZIX_NONNULL buf, size_t size);
/// Return a deep copy of `node`
SERD_API SerdNode* ZIX_ALLOCATED