Commits

Antonio Cuni  committed 0780b45

this is no longer a tentative hack, it's the real solution :-)

  • Participants
  • Parent commits c941e1e

Comments (0)

Files changed (1)

File lib_pypy/_ctypes/function.py

                         "item %d in _argtypes_ has no from_param method" % (
                             i + 1,))
             #
-            # XXX tentative hack to make it jit-friendly
             if all([hasattr(argtype, '_ffiargshape') for argtype in argtypes]):
                 fastpath_cls = make_fastpath_subclass(self.__class__)
                 fastpath_cls.enable_fastpath_maybe(self)