get_relation_arity method

int get_relation_arity(
  1. Z3_context c,
  2. Z3_sort s
)

\brief Return arity of relation.

\pre Z3_get_sort_kind(s) == Z3_RELATION_SORT

\sa Z3_get_relation_column

def_API('Z3_get_relation_arity', UINT, (_in(CONTEXT), _in(SORT)))

Implementation

int get_relation_arity(
  Z3_context c,
  Z3_sort s,
) {
  return _get_relation_arity(
    c,
    s,
  );
}