Function clingo_sys::clingo_theory_atoms_term_number
[−]
[src]
pub unsafe extern "C" fn clingo_theory_atoms_term_number(
atoms: *mut clingo_theory_atoms_t,
term: clingo_id_t,
number: *mut c_int
) -> bool
Get the number of the given numeric theory term.
@pre The term must be of type ::clingo_theory_term_type_number.
Parameters:
atoms
container where the term is storedterm
id of the termnumber
the resulting number
Returns whether the call was successful