diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-05 16:24:52 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-05 16:24:52 -0700 |
commit | bbc8fe1841457089f81bd48cfee08b91ba8445b8 (patch) | |
tree | 379c529077da11a56556f0cb7ef99a851dc39da2 /Modules/_ctypes | |
parent | 9940633e89d7928cdc392b065df342b9352956ae (diff) | |
download | cpython-git-bbc8fe1841457089f81bd48cfee08b91ba8445b8.tar.gz |
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/_ctypes')
-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 394534bff5..d1e0477397 100644 --- a/Modules/_ctypes/ctypes.h +++ b/Modules/_ctypes/ctypes.h @@ -72,7 +72,6 @@ union value { #ifdef HAVE_LONG_LONG PY_LONG_LONG ll; #endif - long double D; }; /* @@ -344,7 +343,6 @@ struct tagPyCArgObject { #ifdef HAVE_LONG_LONG PY_LONG_LONG q; #endif - long double D; double d; float f; void *p; |