Function clingo_sys::clingo_backend_theory_term_number
source · pub unsafe extern "C" fn clingo_backend_theory_term_number(
backend: *mut clingo_backend_t,
number: c_int,
term_id: *mut clingo_id_t
) -> bool
Expand description
! Add a numeric theory term. ! ! @param[in] backend the target backend ! @param[in] number the value of the term ! @param[out] term_id the resulting term id ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc