mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
remove long double from ctypes value union
It is unused. It also forces a 16-byte alignment, which creates problems because Python's allocator only uses 8-byte alignment.
This commit is contained in:
parent
281e5f8839
commit
6d999803a0
1 changed files with 0 additions and 2 deletions
|
@ -34,7 +34,6 @@ union value {
|
|||
#ifdef HAVE_LONG_LONG
|
||||
PY_LONG_LONG ll;
|
||||
#endif
|
||||
long double D;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -306,7 +305,6 @@ struct tagPyCArgObject {
|
|||
#ifdef HAVE_LONG_LONG
|
||||
PY_LONG_LONG q;
|
||||
#endif
|
||||
long double D;
|
||||
double d;
|
||||
float f;
|
||||
void *p;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue