Function clingo_sys::clingo_configuration_value_set [] [src]

pub unsafe extern "C" fn clingo_configuration_value_set(
    configuration: *mut clingo_configuration_t,
    key: clingo_id_t,
    value: *const c_char
) -> bool

Set the value of an entry.

@pre The @link clingo_configuration_type() type@endlink of the entry must be @ref ::clingo_configuration_type_value.

Parameters:

  • configuration the target configuration
  • key the key
  • value the value to set

Returns whether the call was successful