[pypy-svn] r55438 - pypy/branch/build-external/pypy/module/_rawffi

afa at codespeak.net afa at codespeak.net
Fri May 30 23:42:57 CEST 2008


Author: afa
Date: Fri May 30 23:42:51 2008
New Revision: 55438

Modified:
   pypy/branch/build-external/pypy/module/_rawffi/callback.py
Log:
This was already corrected in trunk/


Modified: pypy/branch/build-external/pypy/module/_rawffi/callback.py
==============================================================================
--- pypy/branch/build-external/pypy/module/_rawffi/callback.py	(original)
+++ pypy/branch/build-external/pypy/module/_rawffi/callback.py	Fri May 30 23:42:51 2008
@@ -33,7 +33,7 @@
         w_args = space.newlist([space.wrap(rffi.cast(rffi.UINT, ll_args[i]))
                                 for i in range(len(argtypes))])
         w_res = space.call(w_callable, w_args)
-        if callback_ptr.res != 'O': # don't return void
+        if callback_ptr.result != 'O': # don't return void
             unwrap_value(space, push_elem, ll_res, 0,
                          letter2tp(space, callback_ptr.result), w_res)
     except OperationError, e:



More information about the Pypy-commit mailing list