Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8887 > unrolled thread

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

Started byJust Fill Bugs <mozbugbox@yahoo.com.au>
First post2011-07-06 11:12 +0800
Last post2011-07-07 01:25 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Should ctypes handle mis-matching structure return ABI between mingw and MSVC? Just Fill Bugs <mozbugbox@yahoo.com.au> - 2011-07-06 11:12 +0800
    Re: Should ctypes handle mis-matching structure return ABI between mingw and MSVC? Nobody <nobody@nowhere.com> - 2011-07-07 01:25 +0100

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

FromJust Fill Bugs <mozbugbox@yahoo.com.au>
Date2011-07-06 11:12 +0800
SubjectShould ctypes handle mis-matching structure return ABI between mingw and MSVC?
Message-ID<mailman.674.1309922109.1164.python-list@python.org>
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?

A ctypes discussion on 2009:

     http://thread.gmane.org/gmane.comp.python.ctypes.user/4439

[toc] | [next] | [standalone]


#9002

FromNobody <nobody@nowhere.com>
Date2011-07-07 01:25 +0100
Message-ID<pan.2011.07.07.00.25.30.239000@nowhere.com>
In reply to#8887
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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web