mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 04:13:38 +00:00
make default argument to ensure_def and mk_def explicit
- insert also macro definitions into models
This commit is contained in:
parent
c64d61bd0a
commit
f17691715b
4 changed files with 28 additions and 23 deletions
|
@ -120,10 +120,8 @@ extern "C" {
|
|||
RESET_ERROR_CODE();
|
||||
//
|
||||
recfun::promise_def def =
|
||||
mk_c(c)->recfun().get_plugin().mk_def(to_symbol(s),
|
||||
domain_size,
|
||||
to_sorts(domain),
|
||||
to_sort(range));
|
||||
mk_c(c)->recfun().get_plugin().mk_def(
|
||||
to_symbol(s), domain_size, to_sorts(domain), to_sort(range), false);
|
||||
func_decl* d = def.get_def()->get_decl();
|
||||
mk_c(c)->save_ast_trail(d);
|
||||
RETURN_Z3(of_func_decl(d));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue