http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36834
Should ctypes handle this situation automatically somehow?
A ctypes discussion on 2009:
> According the Bug 36834 of gcc, there is a mis-matching between mingw and
> MSVC when a struct was returned by value from a C function.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36834
>
> Should ctypes handle this situation automatically somehow?
I would expect this to be the responsibility of libffi rather than ctypes.