Esempio n. 1
0
 def unpack_ptr(self, w_ctypeptr, ptr, length):
     result = self.unpack_list_of_int_items(ptr, length)
     if result is not None:
         return self.space.newlist_int(result)
     return W_CType.unpack_ptr(self, w_ctypeptr, ptr, length)
Esempio n. 2
0
 def unpack_ptr(self, w_ctypeptr, ptr, length):
     result = self.unpack_list_of_int_items(ptr, length)
     if result is not None:
         return self.space.newlist_int(result)
     return W_CType.unpack_ptr(self, w_ctypeptr, ptr, length)