diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-05 23:24:52 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-05 23:24:52 (GMT) |
commit | 6d999803a07ef5e01f0048d4f276e9cf4401a23d (patch) | |
tree | 41f3465f369ea3650e6570d38da75df5d0e3514b /Modules | |
parent | 281e5f8839355a03ace8c2162bd69ff0082e73f0 (diff) | |
download | cpython-6d999803a07ef5e01f0048d4f276e9cf4401a23d.zip cpython-6d999803a07ef5e01f0048d4f276e9cf4401a23d.tar.gz cpython-6d999803a07ef5e01f0048d4f276e9cf4401a23d.tar.bz2 |
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.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/ctypes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_ctypes/ctypes.h b/Modules/_ctypes/ctypes.h index 0d3f724..d80ea82 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; |