Fixed bpo-29565: Corrected ctypes passing of large structs by value o… by vsajip · Pull Request #221 · python/cpython
…n 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. (cherry picked from commit a86339b)
akruis added a commit to akruis/cpython that referenced this pull request
akruis added a commit to akruis/cpython that referenced this pull request
These numbers were already 64bit if available until the relevant preprocessor macro was renamed. This change affects Stackless structures PyStacklessState and PyCStackObject. Extension authors usually don't access them directly. (cherry picked from commit ce8faba)
jaraco added a commit to jaraco/cpython that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters