Function clingo_sys::clingo_symbol_to_string [] [src]

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.

Parameters:

  • symbol the target symbol
  • string the resulting string
  • size the size of the string

Returns whether the call was successful; might set one of the following error codes: - ::clingo_error_bad_alloc

@see clingo_symbol_to_string_size()