Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 3
0
Archivo: rptr.py Proyecto: 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)
Ejemplo n.º 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)