[][src]Function clingo_sys::clingo_symbol_to_string

pub unsafe extern "C" fn clingo_symbol_to_string(
    symbol: clingo_symbol_t,
    string: *mut c_char,
    size: usize
) -> bool

! Get the string representation of a symbol. ! ! @param[in] symbol the target symbol ! @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_bad_alloc ! ! @see clingo_symbol_to_string_size()