Function clingo_sys::clingo_theory_atoms_term_arguments
source · pub unsafe extern "C" fn clingo_theory_atoms_term_arguments(
atoms: *const clingo_theory_atoms_t,
term: clingo_id_t,
arguments: *mut *const clingo_id_t,
size: *mut usize
) -> bool
Expand description
! Get the arguments of the given function theory term. ! ! @pre The term must be of type ::clingo_theory_term_type_function. ! @param[in] atoms container where the term is stored ! @param[in] term id of the term ! @param[out] arguments the resulting arguments in form of an array of term ids ! @param[out] size the number of arguments ! @return whether the call was successful