Function clingo_sys::clingo_statistics_map_size [] [src]

pub unsafe extern "C" fn clingo_statistics_map_size(
    statistics: *mut clingo_statistics_t,
    key: u64,
    size: *mut usize
) -> bool

Get the number of subkeys of a map entry.

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

Parameters:

  • statistics the target statistics
  • key the key
  • size the resulting number

Returns whether the call was successful