Function clingo_sys::clingo_configuration_array_at
source · pub unsafe extern "C" fn clingo_configuration_array_at(
configuration: *const clingo_configuration_t,
key: clingo_id_t,
offset: usize,
subkey: *mut clingo_id_t
) -> bool
Expand description
! Get the subkey at the given offset of an array entry. ! ! @note Some array entries, like fore example the solver configuration, can be accessed past there actual size to add subentries. ! @pre The @link clingo_configuration_type() type@endlink of the entry must be @ref ::clingo_configuration_type_array. ! @param[in] configuration the target configuration ! @param[in] key the key ! @param[in] offset the offset in the array ! @param[out] subkey the resulting subkey ! @return whether the call was successful