[issue29565] Still broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

Steve Dower report at bugs.python.org
Thu Feb 16 12:44:46 EST 2017


Steve Dower added the comment:

The contents of the struct is just being big enough to reach the point where it is passed by reference rather than by value.

This issue is pointing out that it should be a reference to a temporary copy of the struct, so that if the called function modifies the argument then it doesn't affect the caller.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29565>
_______________________________________


More information about the Python-bugs-list mailing list