Hi,

**gint** utils_strtod()??  Sheesh.

s/b renamed utils_hexcolor() or similar, thats what it does.

As for "end", the original strtod() and friends used it to extract several whitespace separated strings from the one string by just passing "end" to the next call, but if we don't use it and its wrong anyways we might as well drop it when we change the name to utils_hexcolor().

Cheers
Lex


On 2 December 2013 04:31, Dimitar Zhekov <dimitar.zhekov@gmail.com> wrote:
Hi,

utils_strtod() has an **end output argument, like strtod(), but never
uses it. Of course, all callers pass NULL, so it doesn't matter much,
but it'll still be good to fix it.

Do you thing we shall handle the argument, or remove it? Assignind to
*end doesn't make much sense, since on successful utils_strtod(), *end
(if any) will always point to the end of the input string.

--
E-gards: Jimmy
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel