summaryrefslogtreecommitdiffstats
path: root/Python/getopt.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-08-02 14:47:26 (GMT)
committerGitHub <noreply@github.com>2018-08-02 14:47:26 (GMT)
commit3243f8c1fb16b6de73f1d7a30f5d09047553bce3 (patch)
tree4e40eda62f1b3050b98823fa905e0b69fe68166c /Python/getopt.c
parent894940b1099677c1ca0aa527dbb935e47d3d591a (diff)
downloadcpython-3243f8c1fb16b6de73f1d7a30f5d09047553bce3.zip
cpython-3243f8c1fb16b6de73f1d7a30f5d09047553bce3.tar.gz
cpython-3243f8c1fb16b6de73f1d7a30f5d09047553bce3.tar.bz2
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 a86339b83fbd0932e0529a3c91935e997a234582)
Diffstat (limited to 'Python/getopt.c')
0 files changed, 0 insertions, 0 deletions