diff options
Diffstat (limited to 'Include/pystrtod.h')
-rw-r--r-- | Include/pystrtod.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Include/pystrtod.h b/Include/pystrtod.h index b1d8786e50..23fd1c6255 100644 --- a/Include/pystrtod.h +++ b/Include/pystrtod.h @@ -6,9 +6,6 @@ extern "C" { #endif -PyAPI_FUNC(double) PyOS_ascii_strtod(const char *str, char **ptr); -PyAPI_FUNC(double) PyOS_ascii_atof(const char *str); -PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, size_t buf_len, const char *format, double d); PyAPI_FUNC(double) PyOS_string_to_double(const char *str, char **endptr, PyObject *overflow_exception); @@ -21,7 +18,9 @@ PyAPI_FUNC(char *) PyOS_double_to_string(double val, int flags, int *type); +#ifndef Py_LIMITED_API PyAPI_FUNC(double) _Py_parse_inf_or_nan(const char *p, char **endptr); +#endif /* PyOS_double_to_string's "flags" parameter can be set to 0 or more of: */ |