Function clingo_sys::clingo_theory_atoms_term_name
[−]
[src]
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.
Parameters:
atoms
- container where the term is storedterm
- id of the termname
- the resulting name
Returns whether the call was successful