Function clingo_sys::clingo_symbol_create_string
[−]
[src]
pub unsafe extern "C" fn clingo_symbol_create_string(
string: *const c_char,
symbol: *mut clingo_symbol_t
) -> bool
Construct a symbol representing a string.
Parameters:
string
- the stringsymbol
- the resulting symbol
Returns whether the call was successful; might set one of the following error codes:
- ::clingo_error_bad_alloc