mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +00:00
Finished removing _PyOS_double_to_string, as mentioned in issue 7117.
This commit is contained in:
parent
975d7576ca
commit
c1bdf89145
5 changed files with 32 additions and 159 deletions
|
|
@ -13,13 +13,6 @@ 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);
|
||||
|
||||
/* Use PyOS_double_to_string instead. It's the same, except it allocates
|
||||
the appropriately sized buffer and returns it. This function will go
|
||||
away in Python 2.8 and 3.2. */
|
||||
PyAPI_FUNC(void) _PyOS_double_to_string(char *buf, size_t buf_len, double val,
|
||||
char format_code, int precision,
|
||||
int flags, int* type);
|
||||
|
||||
/* The caller is responsible for calling PyMem_Free to free the buffer
|
||||
that's is returned. */
|
||||
PyAPI_FUNC(char *) PyOS_double_to_string(double val,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue