Example #1
0
 def ll_str(self, a):
     from rpython.rtyper.lltypesystem.rstr import ll_str
     id = ll_addrhash(a)
     return ll_str.ll_int2hex(r_uint(id), True)
Example #2
0
 def ll_str(self, p):
     from rpython.rtyper.lltypesystem.rstr import ll_str
     id = lltype.cast_ptr_to_int(p)
     return ll_str.ll_int2hex(r_uint(id), True)
Example #3
0
File: rptr.py Project: charred/pypy
 def ll_str(self, p):
     from rpython.rtyper.lltypesystem.rstr import ll_str
     id = lltype.cast_ptr_to_int(p)
     return ll_str.ll_int2hex(r_uint(id), True)
Example #4
0
 def ll_str(self, a):
     from rpython.rtyper.lltypesystem.rstr import ll_str
     id = ll_addrhash(a)
     return ll_str.ll_int2hex(r_uint(id), True)