From a970f06aba98736223214a6fa995f4e82acd7132 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 15 Apr 2021 18:34:17 -0400 Subject: [WIP] Use exess for reading and writing numeric and binary literals --- include/serd/string.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include/serd/string.h') 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`. -- cgit v1.2.1