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 configurationkey
the keyvalue
the resulting string valuesize
the size of the given char array
Returns whether the call was successful