[−][src]Function clingo_sys::clingo_statistics_map_add_subkey
pub unsafe extern "C" fn clingo_statistics_map_add_subkey(
statistics: *mut clingo_statistics_t,
key: u64,
name: *const c_char,
type_: clingo_statistics_type_t,
subkey: *mut u64
) -> bool
Add a subkey with the given name.
@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 the name of the new subkey @param[in] type the type of the new subkey @param[out] subkey the index of the resulting subkey @return whether the call was successful