Function clingo_sys::clingo_theory_atoms_atom_literal
source · pub unsafe extern "C" fn clingo_theory_atoms_atom_literal(
atoms: *const clingo_theory_atoms_t,
atom: clingo_id_t,
literal: *mut clingo_literal_t
) -> bool
Expand description
! Get the aspif literal associated with the given theory atom. ! ! @param[in] atoms container where the atom is stored ! @param[in] atom id of the atom ! @param[out] literal the resulting literal ! @return whether the call was successful