3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-18 13:05:33 +00:00

expose recursive functions with own op-code over API

This commit is contained in:
Nikolaj Bjorner 2022-04-13 11:22:43 +02:00
parent c0b455e010
commit c9fa00aec1
2 changed files with 6 additions and 0 deletions

View file

@ -1329,6 +1329,9 @@ extern "C" {
}
}
if (mk_c(c)->recfun().get_family_id() == _d->get_family_id())
return Z3_OP_RECURSIVE;
return Z3_OP_UNINTERPRETED;
Z3_CATCH_RETURN(Z3_OP_UNINTERPRETED);
}