Function clingo_sys::clingo_configuration_map_subkey_name [] [src]

pub unsafe extern "C" fn clingo_configuration_map_subkey_name(
    configuration: *mut clingo_configuration_t,
    key: clingo_id_t,
    offset: usize,
    name: *mut *const c_char
) -> bool

Get the name associated with the offset-th subkey.

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

Parameters:

  • configuration the target configuration
  • key the key
  • offset the offset of the name
  • name the resulting name

Returns whether the call was successful