[pypy-svn] r64142 - pypy/trunk/pypy/rlib/rsre

antocuni at codespeak.net antocuni at codespeak.net
Thu Apr 16 12:04:14 CEST 2009


Author: antocuni
Date: Thu Apr 16 12:04:13 2009
New Revision: 64142

Modified:
   pypy/trunk/pypy/rlib/rsre/_rsre_platform.py
Log:
(niko, antocuni) make oo backends aware of tolower()


Modified: pypy/trunk/pypy/rlib/rsre/_rsre_platform.py
==============================================================================
--- pypy/trunk/pypy/rlib/rsre/_rsre_platform.py	(original)
+++ pypy/trunk/pypy/rlib/rsre/_rsre_platform.py	Thu Apr 16 12:04:13 2009
@@ -6,8 +6,9 @@
     includes = ['ctype.h']
 )
 
-def external(name, args, result):
-    return rffi.llexternal(name, args, result, compilation_info=eci)
+def external(name, args, result, **kwds):
+        return rffi.llexternal(name, args, result, compilation_info=eci, **kwds)
 
-tolower = external('tolower', [lltype.Signed], lltype.Signed)
+tolower = external('tolower', [lltype.Signed], lltype.Signed,
+                                      oo_primitive='tolower')
 



More information about the Pypy-commit mailing list