Function clingo_sys::clingo_theory_atoms_atom_guard
[−]
[src]
pub unsafe extern "C" fn clingo_theory_atoms_atom_guard(
atoms: *mut clingo_theory_atoms_t,
atom: clingo_id_t,
connective: *mut *const c_char,
term: *mut clingo_id_t
) -> bool
Get the guard consisting of a theory operator and a theory term of the given theory atom.
Parameters:
atoms
container where the atom is storedatom
id of the atomconnective
the resulting theory operatorterm
the resulting term
Returns whether the call was successful