Staging
v0.5.1
https://github.com/python/cpython
Revision 2e0ecde8d74f5fc0e3e3e39216975cc70efc4796 authored by Christian Heimes on 30 January 2018, 07:55:46 UTC, committed by GitHub on 30 January 2018, 07:55:46 UTC
Band-aid for macOS: Some platforms seem to ignore unknown protocols.

Signed-off-by: Christian Heimes <christian@python.org>
1 parent dd42cb7
Raw File
Tip revision: 2e0ecde8d74f5fc0e3e3e39216975cc70efc4796 authored by Christian Heimes on 30 January 2018, 07:55:46 UTC
bpo-28134: Ignore proto in unknown socket test (GH-5435)
Tip revision: 2e0ecde
dtoa.h
#ifndef Py_LIMITED_API
#ifndef PY_NO_SHORT_FLOAT_REPR
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr);
PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
                        int *decpt, int *sign, char **rve);
PyAPI_FUNC(void) _Py_dg_freedtoa(char *s);
PyAPI_FUNC(double) _Py_dg_stdnan(int sign);
PyAPI_FUNC(double) _Py_dg_infinity(int sign);


#ifdef __cplusplus
}
#endif
#endif
#endif
back to top