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.
V
Vinay Sajip committed
a86339b83fbd0932e0529a3c91935e997a234582
Parent: 3eea8c6
Committed by GitHub <noreply@github.com>
on 2/20/2017, 12:16:33 AM