Function clingo_sys::clingo_theory_atoms_term_to_string
[−]
[src]
pub unsafe extern "C" fn clingo_theory_atoms_term_to_string(
atoms: *mut clingo_theory_atoms_t,
term: clingo_id_t,
string: *mut c_char,
size: usize
) -> bool
Get the string representation of the given theory term.
Parameters:
atoms
container where the term is storedterm
id of the termstring
the resulting stringsize
the size of the string
Returns whether the call was successful; might set one of the following error codes: - ::clingo_error_runtime if the size is too small - ::clingo_error_bad_alloc
@see clingo_theory_atoms_term_to_string_size()