mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Patch #774665: Make Python LC_NUMERIC agnostic.
This commit is contained in:
parent
6ccc9a99df
commit
737ea82a5a
14 changed files with 317 additions and 103 deletions
18
Include/pystrtod.h
Normal file
18
Include/pystrtod.h
Normal 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 */
|
Loading…
Add table
Add a link
Reference in a new issue