3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-29 06:28:57 +00:00

add_constraint API

This commit is contained in:
Matteo 2017-10-17 16:55:52 +02:00 committed by Arie Gurfinkel
parent 3c7165780c
commit 65885f7eba
9 changed files with 40 additions and 27 deletions

View file

@ -360,3 +360,7 @@ void dl_interface::add_callback(void *state,
const datalog::t_unfold_eh unfold_eh){
m_context->callbacks().push_back(alloc(user_callback, *m_context, state, new_lemma_eh, predecessor_eh, unfold_eh));
}
void dl_interface::add_constraint (expr *c, unsigned lvl){
m_context->add_constraint(c,lvl);
}