Function clingo_sys::clingo_theory_atoms_element_tuple
[−]
[src]
pub unsafe extern "C" fn clingo_theory_atoms_element_tuple(
atoms: *const clingo_theory_atoms_t,
element: clingo_id_t,
tuple: *mut *const clingo_id_t,
size: *mut usize
) -> bool
Get the tuple (array of theory terms) of the given theory element.
Parameters:
atoms
- container where the element is storedelement
- id of the elementtuple
- the resulting array of term idssize
- the number of term ids
Returns whether the call was successful