[pypy-svn] r45714 - pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem

fijal at codespeak.net fijal at codespeak.net
Thu Aug 16 13:48:23 CEST 2007


Author: fijal
Date: Thu Aug 16 13:48:23 2007
New Revision: 45714

Modified:
   pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py
Log:
return whatever for float, we really need to think how to handle that


Modified: pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py	(original)
+++ pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py	Thu Aug 16 13:48:23 2007
@@ -200,6 +200,8 @@
 def size_and_sign(tp):
     if tp is lltype.Char:
         return 1, False
+    if tp is lltype.Float:
+        return 8, False
     assert isinstance(tp, lltype.Number)
     if tp is lltype.Signed:
         unsigned = False



More information about the Pypy-commit mailing list