Function clingo_sys::clingo_configuration_value_get [] [src]

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

Get the string value of the given entry.

@pre The @link clingo_configuration_type() type@endlink of the entry must be @ref ::clingo_configuration_type_value. @pre The given size must be larger or equal to size of the value.

Parameters:

  • configuration the target configuration
  • key the key
  • value the resulting string value
  • size the size of the given char array

Returns whether the call was successful