Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r73959:c377769fa159 Date: 2014-10-14 12:51 -0700 http://bitbucket.org/pypy/pypy/changeset/c377769fa159/
Log: this workaround is no longer needed diff --git a/rpython/rtyper/lltypesystem/ll2ctypes.py b/rpython/rtyper/lltypesystem/ll2ctypes.py --- a/rpython/rtyper/lltypesystem/ll2ctypes.py +++ b/rpython/rtyper/lltypesystem/ll2ctypes.py @@ -361,9 +361,7 @@ functype = ctypes.CFUNCTYPE if sys.platform == 'win32': from rpython.rlib.clibffi import FFI_STDCALL, FFI_DEFAULT_ABI - # XXX: - #if getattr(T.TO, 'ABI', FFI_DEFAULT_ABI) == FFI_STDCALL: - if getattr(T.TO, 'ABI', FFI_DEFAULT_ABI) == 'FFI_STDCALL': + if getattr(T.TO, 'ABI', FFI_DEFAULT_ABI) == FFI_STDCALL: # for win32 system call functype = ctypes.WINFUNCTYPE argtypes = [get_ctypes_type(ARG) for ARG in T.TO.ARGS _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit