docs: def isrchi(value, ndim, array):
      """
      Search for a given value within an integer array. Return
      the index of the first matching array entry, or -1 if the key
      value was not found.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/isrchi_c.html
  
      :param value: Key value to be found in array.
      :type value: int
      :param ndim: Dimension of array.
      :type ndim: int
      :param array: Integer array to search.
      :type array: Array of ints
      :return:
              The index of the first matching array element or -1
              if the value is not found.
      :rtype: int
      """
      value = ctypes.c_int(value)
      ndim = ctypes.c_int(ndim)
      array = stypes.toIntVector(array)
      return libspice.isrchi_c(value, ndim, array)