pub unsafe extern "C" fn clingo_solve_handle_get(
    handle: *mut clingo_solve_handle_t,
    result: *mut clingo_solve_result_bitset_t
) -> bool
Expand description

! Get the next solve result. ! ! Blocks until the result is ready. ! When yielding partial solve results can be obtained, i.e., ! when a model is ready, the result will be satisfiable but neither the search exhausted nor the optimality proven. ! ! @param[in] handle the target ! @param[out] result the solve result ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc ! - ::clingo_error_runtime if solving fails