Commits

Amaury Forgeot d'Arc committed 10fb4ec

Add more lltype.Signed types here as well.
This may need some rethinking at some point.

Comments (0)

Files changed (1)

pypy/rpython/tool/rfficache.py

 class Platform:
     def __init__(self):
         self.types = {}
+        # XXX similar to rarithmetic._predefined_ints?
         self.numbertype_to_rclass = {
             lltype.Signed: rarithmetic.r_int,
             lltype.Unsigned: rarithmetic.r_uint,
+            lltype.SignedLongLong: rarithmetic.r_longlong,
+            lltype.UnsignedLongLong: rarithmetic.r_ulonglong,
             }
     
     def inttype(self, name, c_name, signed, **kwds):