Should ctypes handle mis-matching structure return ABI between mingw and MSVC?

Nobody nobody at nowhere.com
Thu Jul 7 02:25:31 CEST 2011


On Wed, 06 Jul 2011 11:12:47 +0800, Just Fill Bugs wrote:

> 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.




More information about the Python-list mailing list