code: def path_get(p: tcod.path.AStar, idx: int) -> Tuple[int, int]:
      
      x = ffi.new("int *")
      y = ffi.new("int *")
      lib.TCOD_path_get(p._path_c, idx, x, y)
      return x[0], y[0]
docs: Get a point on a path.
  
      Args:
          p (AStar): An AStar instance.
          idx (int): Should be in range: 0 <= inx < :any:`path_size`