[][src]Function clingo_sys::clingo_theory_atoms_element_to_string

pub unsafe extern "C" fn clingo_theory_atoms_element_to_string(
    atoms: *const clingo_theory_atoms_t,
    element: clingo_id_t,
    string: *mut c_char,
    size: usize
) -> bool

Get the string representation of the given theory element.

@param[in] atoms container where the element is stored @param[in] element id of the element @param[out] string the resulting string @param[in] size the size of the string @return 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