Kaydet (Commit) 6d999803 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

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.
üst 281e5f88
...@@ -34,7 +34,6 @@ union value { ...@@ -34,7 +34,6 @@ union value {
#ifdef HAVE_LONG_LONG #ifdef HAVE_LONG_LONG
PY_LONG_LONG ll; PY_LONG_LONG ll;
#endif #endif
long double D;
}; };
/* /*
...@@ -306,7 +305,6 @@ struct tagPyCArgObject { ...@@ -306,7 +305,6 @@ struct tagPyCArgObject {
#ifdef HAVE_LONG_LONG #ifdef HAVE_LONG_LONG
PY_LONG_LONG q; PY_LONG_LONG q;
#endif #endif
long double D;
double d; double d;
float f; float f;
void *p; void *p;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment