[pypy-dev] test__ffi_call_releases_gil test failing in win32
Armin Rigo
arigo at tunes.org
Tue May 29 10:28:00 CEST 2012
Hi,
On Tue, May 29, 2012 at 10:15 AM, Antonio Cuni <anto.cuni at gmail.com> wrote:
>> A wild guess: Sleep is a WINAPI function, with a calling convention different than
>> the default C convention. Maybe this makes a difference with the ffi module?
Yes, exactly. I don't see anything related to that in module/_ffi
too, which means it's broken in this respect (or just doesn't support
WINAPI functions, which is probably not intended).
> but IIRC Armin fixed it during the last gothenburg sprint,
> although I can't find the relevant checkin.
See how _rawffi/interp_rawffi.py takes a 'flags' argument from
app-level and passes it to clibffi in the call to RawFuncPtr().
A bientôt,
Armin.
More information about the pypy-dev
mailing list