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

Patrick Stewart report at bugs.python.org
Wed Aug 3 10:40:52 EDT 2016


Patrick Stewart added the comment:

There's some confusion above about clang - that's completely irrelevant, the problem was using ctypes to call into libclang, not using clang to compile anything. The problem applies to any callback function that returns a struct larger than 8 bytes with any MSVC 64bit build of ctypes.

----------

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


More information about the Python-bugs-list mailing list