cpython/Modules/_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
..
darwin Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
libffi_msvc Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168) 2017-02-20 00:16:33 +00:00
libffi_osx Issue #24381: Avoid unused function warning when building bundled macOS libffi. 2016-10-20 15:38:27 -04:00
_ctypes.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
_ctypes_test.c Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168) 2017-02-20 00:16:33 +00:00
_ctypes_test.h
callbacks.c Issue #28915: Use _PyObject_CallNoArg() 2016-12-09 12:29:18 +01:00
callproc.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 09:47:21 +02:00
cfield.c Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 2017-01-23 10:23:58 +02:00
ctypes.h fix a PY_LONG_LONG straggler 2016-09-08 09:25:03 -07:00
ctypes_dlfcn.h Remove outdated PEP 291 compatibility requirement comment 2016-05-14 05:55:38 +00:00
malloc_closure.c Fix for issue9662, patch by Ɓukasz Langa in issue5504. 2010-09-05 18:25:59 +00:00
stgdict.c Use _PyObject_CallNoArg() 2016-12-06 18:45:50 +01:00