Patch #774665: Make Python LC_NUMERIC agnostic.

This commit is contained in:
Martin v. Löwis 2004-06-08 18:52:54 +00:00
parent 6ccc9a99df
commit 737ea82a5a
14 changed files with 317 additions and 103 deletions

18
Include/pystrtod.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef Py_STRTOD_H
#define Py_STRTOD_H
#ifdef __cplusplus
extern "C" {
#endif
double PyOS_ascii_strtod(const char *str, char **ptr);
double PyOS_ascii_atof(const char *str);
char * PyOS_ascii_formatd(char *buffer, int buf_len, const char *format, double d);
#ifdef __cplusplus
}
#endif
#endif /* !Py_STRTOD_H */