[−][src]Function clingo_sys::clingo_symbol_number
pub unsafe extern "C" fn clingo_symbol_number(
symbol: clingo_symbol_t,
number: *mut c_int
) -> bool
Get the number of a symbol.
@param[in] symbol the target symbol @param[out] number the resulting number @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_number