get_lstring method

Z3_char_ptr get_lstring(
  1. Z3_context c,
  2. Z3_ast s,
  3. Pointer<UnsignedInt> length
)

\brief Retrieve the string constant stored in \c s. The string can contain escape sequences. Characters in the range 1 to 255 are literal. Characters in the range 0, and 256 above are escaped.

\pre Z3_is_string(c, s)

def_API('Z3_get_lstring', CHAR_PTR, (_in(CONTEXT), _in(AST), _out(UINT)))

Implementation

Z3_char_ptr get_lstring(
  Z3_context c,
  Z3_ast s,
  ffi.Pointer<ffi.UnsignedInt> length,
) {
  return _get_lstring(
    c,
    s,
    length,
  );
}