[pypy-commit] pypy default: Translation fix? for cppyy...
arigo
noreply at buildbot.pypy.org
Wed Oct 7 16:57:46 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r80021:d37906ecef73
Date: 2015-10-07 16:57 +0200
http://bitbucket.org/pypy/pypy/changeset/d37906ecef73/
Log: Translation fix? for cppyy...
diff --git a/pypy/module/_cffi_backend/ctypefunc.py b/pypy/module/_cffi_backend/ctypefunc.py
--- a/pypy/module/_cffi_backend/ctypefunc.py
+++ b/pypy/module/_cffi_backend/ctypefunc.py
@@ -30,7 +30,8 @@
cif_descr = lltype.nullptr(CIF_DESCRIPTION)
- def __init__(self, space, fargs, fresult, ellipsis, abi):
+ def __init__(self, space, fargs, fresult, ellipsis,
+ abi=_cffi_backend.FFI_DEFAULT_ABI):
assert isinstance(ellipsis, bool)
extra, xpos = self._compute_extra_text(fargs, fresult, ellipsis, abi)
size = rffi.sizeof(rffi.VOIDP)
More information about the pypy-commit
mailing list