From: Benjamin Peterson Date: Mon, 5 Sep 2016 23:24:52 +0000 (-0700) Subject: remove long double from ctypes value union X-Git-Tag: v3.6.0b1~441^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d999803a07ef5e01f0048d4f276e9cf4401a23d;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Modules/_ctypes/ctypes.h b/Modules/_ctypes/ctypes.h index 0d3f7241ca8f..d80ea82cee8c 100644 --- a/Modules/_ctypes/ctypes.h +++ b/Modules/_ctypes/ctypes.h @@ -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;