summaryrefslogtreecommitdiffstats
path: root/Modules/_datetimemodule.c
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2017-02-20 00:16:33 (GMT)
committerGitHub <noreply@github.com>2017-02-20 00:16:33 (GMT)
commita86339b83fbd0932e0529a3c91935e997a234582 (patch)
tree34b0c69efbc4097a78b6292050460d8ba1df6265 /Modules/_datetimemodule.c
parent3eea8c67fa870c6e2b7a521d292afe7fe3e95f58 (diff)
downloadcpython-a86339b83fbd0932e0529a3c91935e997a234582.zip
cpython-a86339b83fbd0932e0529a3c91935e997a234582.tar.gz
cpython-a86339b83fbd0932e0529a3c91935e997a234582.tar.bz2
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.
Diffstat (limited to 'Modules/_datetimemodule.c')
0 files changed, 0 insertions, 0 deletions