mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-110079: Remove extern "C" { ...} in C code (#110080)
This commit is contained in:
parent
bfd94ab9e9
commit
8b626a47ba
18 changed files with 6 additions and 168 deletions
|
@ -172,10 +172,6 @@ typedef uint64_t ULLong;
|
|||
#define Bug(x) {fprintf(stderr, "%s\n", x); exit(1);}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef union { double d; ULong L[2]; } U;
|
||||
|
||||
#ifdef IEEE_8087
|
||||
|
@ -2813,8 +2809,5 @@ _Py_dg_dtoa(double dd, int mode, int ndigits,
|
|||
_Py_dg_freedtoa(s0);
|
||||
return NULL;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _PY_SHORT_FLOAT_REPR == 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue