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 Issue #22098: ctypes' BigEndianStructure and LittleEndianStructure now define an empty __slots__ so that subclasses don't always get an instance dict. 2014-08-30 00:37:18 +02:00
util.py Remove disabled test code 2016-11-05 02:49:20 +00:00
wintypes.py Issue #3612: Added new types to ctypes.wintypes. (CHAR and pointers) 2010-09-28 21:08:38 +00:00