Function clingo_sys::clingo_symbol_create_string
source · pub unsafe extern "C" fn clingo_symbol_create_string(
string: *const c_char,
symbol: *mut clingo_symbol_t
) -> bool
Expand description
! Construct a symbol representing a string. ! ! @param[in] string the string ! @param[out] symbol the resulting symbol ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc