diff options
author | David Robillard <d@drobilla.net> | 2021-04-15 18:34:17 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:06 -0500 |
commit | a970f06aba98736223214a6fa995f4e82acd7132 (patch) | |
tree | fc243e4bf26f4c1f95df6f62abdd6740d87d8afd /include/serd/string.h | |
parent | 44feb2724a8fe34992999867f5b6468228b6fc01 (diff) | |
download | serd-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.h | 7 |
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`. |