From d88b5a797f8502c40d0da964d653a1cd3028c872 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Oct 2019 20:59:12 +0200 Subject: Clean up numeric node construction and access API --- src/string.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/string.c') diff --git a/src/string.c b/src/string.c index c5b1d6f7..842beeef 100644 --- a/src/string.c +++ b/src/string.c @@ -16,11 +16,9 @@ #include "string_utils.h" -#include "exess/exess.h" #include "serd/serd.h" #include -#include #include #include @@ -105,15 +103,3 @@ serd_strlen(const char* const str, SerdNodeFlags* const flags) return strlen(str); } - -double -serd_strtod(const char* const str, const char** const end) -{ - double value = (double)NAN; - const ExessResult r = exess_read_double(&value, str); - if (end) { - *end = str + r.count; - } - - return r.status ? (double)NAN : value; -} -- cgit v1.2.1