[pypy-svn] pypy default: Fix for failing tests.

arigo commits-noreply at bitbucket.org
Mon Mar 28 13:13:31 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r42993:5281cb31026c
Date: 2011-03-28 13:11 +0200
http://bitbucket.org/pypy/pypy/changeset/5281cb31026c/

Log:	Fix for failing tests.

diff --git a/pypy/rpython/lltypesystem/rffi.py b/pypy/rpython/lltypesystem/rffi.py
--- a/pypy/rpython/lltypesystem/rffi.py
+++ b/pypy/rpython/lltypesystem/rffi.py
@@ -311,7 +311,8 @@
     eci = ExternalCompilationInfo(post_include_bits=['#define PYPY_NO_OP()'])
     eci = eci.merge(compilation_info)
     return llexternal('PYPY_NO_OP', [], lltype.Void,
-                      compilation_info=eci, sandboxsafe=True, _nowrapper=True)
+                      compilation_info=eci, sandboxsafe=True, _nowrapper=True,
+                      _callable=lambda: None)
 
 # ____________________________________________________________
 # Few helpers for keeping callback arguments alive


More information about the Pypy-commit mailing list