From 01a76c7d703650df7f39d21c704f5b7c4f41ca14 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 25 Feb 2021 20:08:20 -0500 Subject: Add numeric node construction and access API --- src/string.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/string.c') diff --git a/src/string.c b/src/string.c index 6e28778b..f59a5fd6 100644 --- a/src/string.c +++ b/src/string.c @@ -107,15 +107,3 @@ serd_strlen(const char* str, SerdNodeFlags* flags) return strlen(str); } - -double -serd_strtod(const char* const str, const char** 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