[][src]Function clingo_sys::clingo_symbol_string

pub unsafe extern "C" fn clingo_symbol_string(
    symbol: clingo_symbol_t,
    string: *mut *const c_char
) -> bool

Get the string of a symbol.

@param[in] symbol the target symbol @param[out] string the resulting string @return whether the call was successful; might set one of the following error codes:

  • ::clingo_error_runtime if symbol is not of type ::clingo_symbol_type_string