[][src]Function clingo_sys::clingo_statistics_array_push

pub unsafe extern "C" fn clingo_statistics_array_push(
    statistics: *mut clingo_statistics_t,
    key: u64,
    type_: clingo_statistics_type_t,
    subkey: *mut u64
) -> bool

Create the subkey at the end of an array entry.

@pre The @link clingo_statistics_type() type@endlink of the entry must be @ref ::clingo_statistics_type_array. @param[in] statistics the target statistics @param[in] key the key @param[in] type the type of the new subkey @param[out] subkey the resulting subkey @return whether the call was successful