Function clingo_sys::clingo_theory_atoms_atom_term [] [src]

pub unsafe extern "C" fn clingo_theory_atoms_atom_term(
    atoms: *const clingo_theory_atoms_t,
    atom: clingo_id_t,
    term: *mut clingo_id_t
) -> bool

Get the theory term associated with the theory atom.

Parameters:

  • atoms - container where the atom is stored
  • atom - id of the atom
  • term - the resulting term id

Returns whether the call was successful