cpython/Lib/ctypes
Victor Stinner 3243f8c1fb
bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64 (GH-168) (GH-8625)
Fixed bpo-29565: Corrected ctypes passing of large structs by value.

Added code and test to check that when a structure passed by value
is large enough to need to be passed by reference, a copy of the
original structure is passed. The callee updates the passed-in value,
and the test verifies that the caller's copy is unchanged. A similar
change was also added to the test added for bpo-20160 (that test was
passing, but the changes should guard against regressions).

(cherry picked from commit a86339b83f)
2018-08-02 16:47:26 +02:00
..
macholib [2.7] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2086) 2017-06-11 14:19:39 -05:00
test bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64 (GH-168) (GH-8625) 2018-08-02 16:47:26 +02:00
__init__.py Issue #29219: Fixed infinite recursion in the repr of uninitialized 2017-01-13 09:37:56 +02:00
_endian.py Remove PEP 291 compatibility requirements for ctypes and modulefinder 2016-05-14 07:25:37 +00:00
util.py Issue #22636: Avoid using a shell in the ctypes.util module 2014-10-16 09:42:45 +02:00
wintypes.py Remove PEP 291 compatibility requirements for ctypes and modulefinder 2016-05-14 07:25:37 +00:00