pub unsafe extern "C" fn clingo_propagate_init_add_clause(
    init: *mut clingo_propagate_init_t,
    clause: *const clingo_literal_t,
    size: usize,
    result: *mut bool
) -> bool
Expand description

! Add the given clause to the solver. ! ! @attention No further calls on the init object or functions on the assignment should be called when the result of this method is false. ! ! @param[in] init the target ! @param[in] clause the clause to add ! @param[in] size the size of the clause ! @param[out] result result indicating whether the problem became unsatisfiable ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc