0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Lib/ctypes
Vinay Sajip a86339b83f Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168)
* 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).

* Reverted unintended whitespace changes.
2017-02-20 00:16:33 +00:00
..
macholib Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py 2016-09-26 23:06:32 +03:00
test Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168) 2017-02-20 00:16:33 +00:00
__init__.py Issue #29219: Fixed infinite recursion in the repr of uninitialized 2017-01-13 09:42:17 +02:00
_endian.py
util.py Remove disabled test code 2016-11-05 02:49:20 +00:00
wintypes.py