Function clingo_sys::clingo_statistics_array_size [] [src]

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

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

Returns whether the call was successful