Function clingo_sys::clingo_symbol_create_id
[−]
[src]
pub unsafe extern "C" fn clingo_symbol_create_id(
name: *const c_char,
positive: bool,
symbol: *mut clingo_symbol_t
) -> bool
Construct a symbol representing an id.
Note: This is just a shortcut for clingo_symbol_create_function() with empty arguments.
Parameters:
name
- the namepositive
- whether the symbol has a classical negation signsymbol
- the resulting symbol
Returns whether the call was successful; might set one of the following error codes:
- ::clingo_error_bad_alloc