def get_ptr_type(structure, member):
 if (len(member) > 1):
  (_, tp) = get_obj_offset(types, [structure, member[0]])
  if (tp == 'array'):
   return types[structure][1][member[0]][1][2][1]
  else:
   return get_ptr_type(tp, member[1:])
 else:
  return types[structure][1][member[0]][1][1]

def get_ptr_type ( structure , member ) : if ( len ( member ) > 1 ) : ( _ , tp ) = get_obj_offset ( types , [ structure , member [ 0 ] ] ) if ( tp == 'array' ) : return types [ structure ] [ 1 ] [ member [ 0 ] ] [ 1 ] [ 2 ] [ 1 ] else : return get_ptr_type ( tp , member [ 1 : ] ) else : return types [ structure ] [ 1 ] [ member [ 0 ] ] [ 1 ] [ 1 ]
return the type a pointer points to .