sort_to_ast method

Z3_ast sort_to_ast(
  1. Z3_context c,
  2. Z3_sort s
)

\brief Convert a \c Z3_sort into \c Z3_ast. This is just type casting.

def_API('Z3_sort_to_ast', AST, (_in(CONTEXT), _in(SORT)))

Implementation

Z3_ast sort_to_ast(
  Z3_context c,
  Z3_sort s,
) {
  return _sort_to_ast(
    c,
    s,
  );
}