Function clingo_sys::clingo_symbol_name [] [src]

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

Get the name of a symbol.

Parameters:

  • symbol - the target symbol
  • name - the resulting name

Returns 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_function