Function clingo_sys::clingo_configuration_map_size [] [src]

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

Get the number of subkeys of a map entry.

@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
  • size the resulting number

Returns whether the call was successful