Function clingo_sys::clingo_statistics_map_subkey_name [] [src]

pub unsafe extern "C" fn clingo_statistics_map_subkey_name(
    statistics: *mut clingo_statistics_t,
    key: u64,
    offset: usize,
    name: *mut *const c_char
) -> bool

Get the name associated with the offset-th subkey.

@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
  • offset the offset of the name
  • name the resulting name

Returns whether the call was successful