mirror of
https://github.com/Z3Prover/z3
synced 2025-06-08 07:03:23 +00:00
Fixed registering expressions in push/pop (#5964)
* Fixed registering expressions in push/pop * Reused existing function
This commit is contained in:
parent
f43d9d00d4
commit
b0d8b27f37
6 changed files with 31 additions and 23 deletions
|
@ -883,8 +883,8 @@ extern "C" {
|
|||
Z3_TRY;
|
||||
RESET_ERROR_CODE();
|
||||
init_solver(c, s);
|
||||
user_propagator::push_eh_t _push = push_eh;
|
||||
user_propagator::pop_eh_t _pop = pop_eh;
|
||||
user_propagator::push_eh_t _push = (void(*)(void*,user_propagator::callback*)) push_eh;
|
||||
user_propagator::pop_eh_t _pop = (void(*)(void*,user_propagator::callback*,unsigned)) pop_eh;
|
||||
user_propagator::fresh_eh_t _fresh = [=](void * user_ctx, ast_manager& m, user_propagator::context_obj*& _ctx) {
|
||||
ast_context_params params;
|
||||
params.set_foreign_manager(&m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue