[−][src]Function clingo_sys::clingo_theory_atoms_atom_to_string_size
pub unsafe extern "C" fn clingo_theory_atoms_atom_to_string_size(
atoms: *const clingo_theory_atoms_t,
atom: clingo_id_t,
size: *mut usize
) -> bool
Get the size of the string representation of the given theory atom (including the terminating 0).
@param[in] atoms container where the atom is stored @param[in] atom id of the element @param[out] size the resulting size @return whether the call was successful; might set one of the following error codes:
- ::clingo_error_bad_alloc