diff options
author | David Robillard <d@drobilla.net> | 2022-01-02 22:52:39 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-28 21:57:29 -0500 |
commit | 6e274953587941934e8f291d2dd99b843d5580ab (patch) | |
tree | a5bd7e131ae4cfabaa7ec92d75dd3007b8380239 /include/serd | |
parent | 30487c277ac5d4be5786733ca7b98adb4c810ae9 (diff) | |
download | serd-6e274953587941934e8f291d2dd99b843d5580ab.tar.gz serd-6e274953587941934e8f291d2dd99b843d5580ab.tar.bz2 serd-6e274953587941934e8f291d2dd99b843d5580ab.zip |
Remove datatype arguments from integer and base64 constructors
Diffstat (limited to 'include/serd')
-rw-r--r-- | include/serd/serd.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index 2300a1a4..49046054 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -938,8 +938,7 @@ serd_node_construct_float(size_t buf_size, SerdWriteResult serd_node_construct_integer(size_t buf_size, void* SERD_NULLABLE buf, - int64_t value, - SerdStringView datatype); + int64_t value); /** Construct a canonical xsd:base64Binary literal. @@ -951,8 +950,7 @@ SerdWriteResult serd_node_construct_base64(size_t buf_size, void* SERD_NULLABLE buf, size_t value_size, - const void* SERD_NONNULL value, - SerdStringView datatype); + const void* SERD_NONNULL value); /** @} @@ -1133,9 +1131,7 @@ serd_new_float(SerdAllocator* SERD_NULLABLE allocator, float f); */ SERD_API SerdNode* SERD_ALLOCATED -serd_new_integer(SerdAllocator* SERD_NULLABLE allocator, - int64_t i, - SerdStringView datatype); +serd_new_integer(SerdAllocator* SERD_NULLABLE allocator, int64_t i); /** Create a new canonical xsd:base64Binary literal. @@ -1150,8 +1146,7 @@ SERD_API SerdNode* SERD_ALLOCATED serd_new_base64(SerdAllocator* SERD_NULLABLE allocator, const void* SERD_NONNULL buf, - size_t size, - SerdStringView datatype); + size_t size); /** @} @@ -1478,9 +1473,7 @@ serd_nodes_float(SerdNodes* SERD_NONNULL nodes, float value); */ SERD_API const SerdNode* SERD_ALLOCATED -serd_nodes_integer(SerdNodes* SERD_NONNULL nodes, - int64_t value, - SerdStringView datatype); +serd_nodes_integer(SerdNodes* SERD_NONNULL nodes, int64_t value); /** Make a canonical xsd:base64Binary node. @@ -1492,8 +1485,7 @@ SERD_API const SerdNode* SERD_ALLOCATED serd_nodes_base64(SerdNodes* SERD_NONNULL nodes, const void* SERD_NONNULL value, - size_t value_size, - SerdStringView datatype); + size_t value_size); /** Make a blank node. |