Author: Matti Picus <[email protected]>
Branch: 
Changeset: r70341:2c0593947580
Date: 2014-03-31 01:06 +0300
http://bitbucket.org/pypy/pypy/changeset/2c0593947580/

Log:    fix broken code apparently tested only on win32

diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py
--- a/lib_pypy/_ctypes/function.py
+++ b/lib_pypy/_ctypes/function.py
@@ -219,6 +219,7 @@
             if restype is None:
                 import ctypes
                 restype = ctypes.c_int
+            self._argtypes_ = argsl    
             self._ptr = self._getfuncptr_fromaddress(self._argtypes_, restype)
             self._check_argtypes_for_fastpath()
             return
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to