aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/string.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-04-15 18:34:17 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:06 -0500
commita970f06aba98736223214a6fa995f4e82acd7132 (patch)
treefc243e4bf26f4c1f95df6f62abdd6740d87d8afd /include/serd/string.h
parent44feb2724a8fe34992999867f5b6468228b6fc01 (diff)
downloadserd-a970f06aba98736223214a6fa995f4e82acd7132.tar.gz
serd-a970f06aba98736223214a6fa995f4e82acd7132.tar.bz2
serd-a970f06aba98736223214a6fa995f4e82acd7132.zip
[WIP] Use exess for reading and writing numeric and binary literals
Diffstat (limited to 'include/serd/string.h')
-rw-r--r--include/serd/string.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/serd/string.h b/include/serd/string.h
index 7652b05f..b5ba7154 100644
--- a/include/serd/string.h
+++ b/include/serd/string.h
@@ -35,14 +35,13 @@ serd_strlen(const char* SERD_NONNULL str, SerdNodeFlags* SERD_NULLABLE flags);
format used in the Turtle grammar (the decimal point is always ".").
*/
SERD_API double
-serd_strtod(const char* SERD_NONNULL str,
- char* SERD_NONNULL* SERD_NULLABLE endptr);
+serd_strtod(const char* SERD_NONNULL str,
+ const char* SERD_NONNULL* SERD_NULLABLE endptr);
/**
Decode a base64 string.
- This function can be used to deserialise a blob node created with
- serd_new_blob().
+ This function can be used to decode a node created with serd_new_base64().
@param str Base64 string to decode.
@param len The length of `str`.