[][src]Function clingo_sys::clingo_theory_atoms_term_name

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

! Get the name of the given constant or function theory term. ! ! @pre The term must be of type ::clingo_theory_term_type_function or ::clingo_theory_term_type_symbol. ! @param[in] atoms container where the term is stored ! @param[in] term id of the term ! @param[out] name the resulting name ! @return whether the call was successful