mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 22:05:45 +00:00
Add Z3_get_array_arity (#7598)
This commit is contained in:
parent
934455a24b
commit
63ad2837e2
2 changed files with 24 additions and 0 deletions
|
@ -4497,6 +4497,17 @@ extern "C" {
|
|||
*/
|
||||
bool Z3_API Z3_get_finite_domain_sort_size(Z3_context c, Z3_sort s, uint64_t* r);
|
||||
|
||||
/**
|
||||
\brief Return the arity (number of dimensions) of the given array sort.
|
||||
|
||||
\pre Z3_get_sort_kind(s) == Z3_ARRAY_SORT
|
||||
|
||||
\sa Z3_get_array_sort_domain_n
|
||||
|
||||
def_API('Z3_get_array_arity', UINT, (_in(CONTEXT), _in(SORT)))
|
||||
*/
|
||||
unsigned Z3_API Z3_get_array_arity(Z3_context c, Z3_sort s);
|
||||
|
||||
/**
|
||||
\brief Return the domain of the given array sort.
|
||||
In the case of a multi-dimensional array, this function returns the sort of the first dimension.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue