diff --git a/src/api/api_seq.cpp b/src/api/api_seq.cpp index e8848b660..00136c021 100644 --- a/src/api/api_seq.cpp +++ b/src/api/api_seq.cpp @@ -150,7 +150,7 @@ extern "C" { Z3_CATCH_RETURN(""); } - Z3_char_ptr Z3_API Z3_get_lstring(Z3_context c, Z3_ast s, unsigned* length) { + Z3_string Z3_API Z3_get_lstring(Z3_context c, Z3_ast s, unsigned* length) { Z3_TRY; LOG_Z3_get_lstring(c, s, length); RESET_ERROR_CODE(); diff --git a/src/api/z3_api.h b/src/api/z3_api.h index 35709ceb5..127be301c 100644 --- a/src/api/z3_api.h +++ b/src/api/z3_api.h @@ -3474,9 +3474,9 @@ extern "C" { \pre Z3_is_string(c, s) - def_API('Z3_get_lstring' ,CHAR_PTR ,(_in(CONTEXT), _in(AST), _out(UINT))) + def_API('Z3_get_lstring' ,STRING ,(_in(CONTEXT), _in(AST), _out(UINT))) */ - Z3_char_ptr Z3_API Z3_get_lstring(Z3_context c, Z3_ast s, unsigned* length); + Z3_string Z3_API Z3_get_lstring(Z3_context c, Z3_ast s, unsigned* length); /** \brief Create an empty sequence of the sequence sort \c seq.