mirror of
https://github.com/Z3Prover/z3
synced 2025-06-08 23:23:23 +00:00
use Z3_char_ptr
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f4b803de95
commit
7e174f50c1
10 changed files with 29 additions and 28 deletions
|
@ -449,7 +449,7 @@ extern "C" {
|
|||
return Z3_L_UNDEF;
|
||||
}
|
||||
}
|
||||
expr * const * _assumptions = to_exprs(assumptions);
|
||||
expr * const * _assumptions = to_exprs(num_assumptions, assumptions);
|
||||
unsigned timeout = to_solver(s)->m_params.get_uint("timeout", mk_c(c)->get_timeout());
|
||||
unsigned rlimit = to_solver(s)->m_params.get_uint("rlimit", mk_c(c)->get_rlimit());
|
||||
bool use_ctrl_c = to_solver(s)->m_params.get_bool("ctrl_c", true);
|
||||
|
@ -605,7 +605,7 @@ extern "C" {
|
|||
RESET_ERROR_CODE();
|
||||
CHECK_SEARCHING(c);
|
||||
init_solver(c, s);
|
||||
lbool result = smt::implied_equalities(m, *to_solver_ref(s), num_terms, to_exprs(terms), class_ids);
|
||||
lbool result = smt::implied_equalities(m, *to_solver_ref(s), num_terms, to_exprs(num_terms, terms), class_ids);
|
||||
return static_cast<Z3_lbool>(result);
|
||||
Z3_CATCH_RETURN(Z3_L_UNDEF);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue