mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 22:05:45 +00:00
Add Z3_is_recursive_datatype_sort to the API (#7615)
It does not seem to be possible to test if a datatype sort is recursive.
This commit is contained in:
parent
14e2aadad0
commit
d792840739
2 changed files with 17 additions and 0 deletions
|
@ -4588,6 +4588,13 @@ extern "C" {
|
|||
*/
|
||||
Z3_func_decl Z3_API Z3_get_tuple_sort_field_decl(Z3_context c, Z3_sort t, unsigned i);
|
||||
|
||||
/**
|
||||
\brief Check if \c s is a recursive datatype sort.
|
||||
|
||||
def_API('Z3_is_recursive_datatype_sort', BOOL, (_in(CONTEXT), _in(SORT)))
|
||||
*/
|
||||
bool Z3_API Z3_is_recursive_datatype_sort(Z3_context c, Z3_sort s);
|
||||
|
||||
/**
|
||||
\brief Return number of constructors for datatype.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue