Commits

Armin Rigo  committed b282528

Oups, one too much. (Shows up in some test failure in
pypy/module/test_lib_pypy/ctypes_tests.)

  • Participants
  • Parent commits 5d5dcaf

Comments (0)

Files changed (1)

File lib_pypy/_ctypes/basics.py

     # imports
     return pointer(cdata)
 
-@builtinify
 def cdata_from_address(self, address):
     # fix the address: turn it into as unsigned, in case it's a negative number
     address = address & (sys.maxint * 2 + 1)