Function clingo_sys::clingo_statistics_array_at [] [src]

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

Get the subkey at the given offset of an array entry.

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

Parameters:

  • statistics the target statistics
  • key the key
  • offset the offset in the array
  • subkey the resulting subkey

Returns whether the call was successful