Function uclicious_libucl_sys::ucl_array_index_of
source · pub unsafe extern "C" fn ucl_array_index_of(
top: *mut ucl_object_t,
elt: *mut ucl_object_t
) -> c_uint
Expand description
Return the index of elt
in the array top
@param top object to get a key from (must be of type UCL_ARRAY)
@param elt element to find index of (must NOT be NULL)
@return index of elt
in the array top or (unsigned int)-1 if
elt` is not found