Function clingo_sys::clingo_symbolic_atoms_is_external
[−]
[src]
pub unsafe extern "C" fn clingo_symbolic_atoms_is_external(
atoms: *const clingo_symbolic_atoms_t,
iterator: clingo_symbolic_atom_iterator_t,
external: *mut bool
) -> bool
Check whether an atom is external.
An atom is external if it has been defined using an external directive and has not been released or defined by a rule.
Parameters:
atoms
- the targetiterator
- iterator to the atomexternal
- whether the atom is a external
Returns whether the call was successful