Function clingo_sys::clingo_model_symbols
[−]
[src]
pub unsafe extern "C" fn clingo_model_symbols(
model: *mut clingo_model_t,
show: clingo_show_type_bitset_t,
symbols: *mut clingo_symbol_t,
size: usize
) -> bool
Get the symbols of the selected types in the model.
Note: CSP assignments are represented using functions with name "$" where the first argument is the name of the CSP variable and the second one its value.
Parameters:
model
the targetshow
which symbols to selectsymbols
the resulting symbolssize
the number of selected symbols
Returns whether the call was successful; might set one of the following error codes: - ::clingo_error_bad_alloc - ::clingo_error_runtime if the size is too small
@see clingo_model_symbols_size()