get_tuple_sort_mk_decl method

Z3_func_decl get_tuple_sort_mk_decl(
  1. Z3_context c,
  2. Z3_sort t
)

\brief Return the constructor declaration of the given tuple sort.

\pre Z3_get_sort_kind(c, t) == Z3_DATATYPE_SORT

\sa Z3_mk_tuple_sort \sa Z3_get_sort_kind

def_API('Z3_get_tuple_sort_mk_decl', FUNC_DECL, (_in(CONTEXT), _in(SORT)))

Implementation

Z3_func_decl get_tuple_sort_mk_decl(
  Z3_context c,
  Z3_sort t,
) {
  return _get_tuple_sort_mk_decl(
    c,
    t,
  );
}