get_domain method

Z3_sort get_domain(
  1. Z3_context c,
  2. Z3_func_decl d,
  3. int i
)

\brief Return the sort of the i-th parameter of the given function declaration.

\pre i < Z3_get_domain_size(d)

\sa Z3_get_domain_size

def_API('Z3_get_domain', SORT, (_in(CONTEXT), _in(FUNC_DECL), _in(UINT)))

Implementation

Z3_sort get_domain(
  Z3_context c,
  Z3_func_decl d,
  int i,
) {
  return _get_domain(
    c,
    d,
    i,
  );
}