コード例 #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)