示例#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)
示例#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)
示例#3
0
文件: rptr.py 项目: 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)
示例#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)