3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

add ability to register expressions during callback

This commit is contained in:
Nikolaj Bjorner 2021-12-07 09:47:05 -08:00
parent 50d50cdb48
commit 1e95fb44d1
9 changed files with 44 additions and 2 deletions

View file

@ -9,6 +9,7 @@ namespace user_propagator {
public:
virtual ~callback() = default;
virtual void propagate_cb(unsigned num_fixed, unsigned const* fixed_ids, unsigned num_eqs, unsigned const* eq_lhs, unsigned const* eq_rhs, expr* conseq) = 0;
virtual unsigned register_cb(expr* e) = 0;
};
class context_obj {