Function clingo_sys::clingo_configuration_array_size [] [src]

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

Get the size of an array entry.

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

Parameters:

  • configuration - the target configuration
  • key - the key
  • size - the resulting size

Returns whether the call was successful