Function clingo_sys::clingo_theory_atoms_term_number
source · pub unsafe extern "C" fn clingo_theory_atoms_term_number(
atoms: *const clingo_theory_atoms_t,
term: clingo_id_t,
number: *mut c_int
) -> bool
Expand description
! Get the number of the given numeric theory term. ! ! @pre The term must be of type ::clingo_theory_term_type_number. ! @param[in] atoms container where the term is stored ! @param[in] term id of the term ! @param[out] number the resulting number ! @return whether the call was successful