aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/string.h
diff options
context:
space:
mode:
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`.