[][src]Function clingo_sys::clingo_symbol_name

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

! Get the name of a symbol. ! ! @param[in] symbol the target symbol ! @param[out] name the resulting name ! @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_function