[][src]Function clingo_sys::clingo_solve_handle_model

pub unsafe extern "C" fn clingo_solve_handle_model(
    handle: *mut clingo_solve_handle_t,
    model: *mut *const clingo_model_t
) -> bool

! Get the next model (or zero if there are no more models). ! ! @param[in] handle the target ! @param[out] model the model (it is NULL if there are no more models) ! @return whether the call was successful; might set one of the following error codes: ! - ::clingo_error_bad_alloc ! - ::clingo_error_runtime if solving fails