float parsing must be locale independent

This commit is contained in:
Remi Collet
2012-11-27 11:06:49 +01:00
parent f6b27cbb6c
commit 16a4a32e29
4 changed files with 29 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ extern struct json_object* json_object_from_file(const char *filename);
extern int json_object_to_file(char *filename, struct json_object *obj);
extern int json_object_to_file_ext(char *filename, struct json_object *obj, int flags);
extern int json_parse_int64(const char *buf, int64_t *retval);
extern int json_parse_double(const char *buf, double *retval);
/**