model_to_string method

Z3_string model_to_string(
  1. Z3_context c,
  2. Z3_model m
)

\brief Convert the given model into a string.

\warning The result buffer is statically allocated by Z3. It will be automatically deallocated when #Z3_del_context is invoked. So, the buffer is invalidated in the next call to \c Z3_model_to_string.

def_API('Z3_model_to_string', STRING, (_in(CONTEXT), _in(MODEL)))

Implementation

Z3_string model_to_string(
  Z3_context c,
  Z3_model m,
) {
  return _model_to_string(
    c,
    m,
  );
}