Martin v. Löwis | 737ea82 | 2004-06-08 18:52:54 +0000 | [diff] [blame] | 1 | #ifndef Py_STRTOD_H |
| 2 | #define Py_STRTOD_H |
| 3 | |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
| 8 | |
Jason Tishler | 0d2a75c | 2004-08-09 15:02:30 +0000 | [diff] [blame] | 9 | PyAPI_FUNC(double) PyOS_ascii_strtod(const char *str, char **ptr); |
| 10 | PyAPI_FUNC(double) PyOS_ascii_atof(const char *str); |
Martin v. Löwis | 18e1655 | 2006-02-15 17:27:45 +0000 | [diff] [blame] | 11 | PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, size_t buf_len, const char *format, double d); |
Martin v. Löwis | 737ea82 | 2004-06-08 18:52:54 +0000 | [diff] [blame] | 12 | |
| 13 | |
| 14 | #ifdef __cplusplus |
| 15 | } |
| 16 | #endif |
| 17 | |
| 18 | #endif /* !Py_STRTOD_H */ |