[][src]Function clingo_sys::clingo_statistics_map_has_subkey

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

Test if the given map contains a specific subkey.

@pre The @link clingo_statistics_type() type@endlink of the entry must be @ref ::clingo_statistics_type_map. @param[in] statistics the target statistics @param[in] key the key @param[in] name name of the subkey @param[out] result true if the map has a subkey with the given name @return whether the call was successful