3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-27 08:28:44 +00:00
This commit is contained in:
Nikolaj Bjorner 2020-04-28 13:51:25 -07:00
parent 815feddd1a
commit fa1197a78f
2 changed files with 7 additions and 1 deletions

View file

@ -236,8 +236,12 @@ namespace recfun {
//<! add a function declaration
def * decl_fun(symbol const & s, unsigned n_args, sort *const * args, sort * range, bool is_generated);
bool has_def(func_decl* f) const {
return m_plugin->has_def(f);
}
def& get_def(func_decl* f) {
SASSERT(m_plugin->has_def(f));
SASSERT(has_def(f));
return m_plugin->get_def(f);
}