Skip to content

Commit d716771

Browse files
unsafe pointer
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 228b952 commit d716771

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/api/api_seq.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ extern "C" {
150150
Z3_CATCH_RETURN("");
151151
}
152152

153-
Z3_char_ptr Z3_API Z3_get_lstring(Z3_context c, Z3_ast s, unsigned* length) {
153+
Z3_string Z3_API Z3_get_lstring(Z3_context c, Z3_ast s, unsigned* length) {
154154
Z3_TRY;
155155
LOG_Z3_get_lstring(c, s, length);
156156
RESET_ERROR_CODE();

src/api/z3_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3474,9 +3474,9 @@ extern "C" {
34743474
34753475
\pre Z3_is_string(c, s)
34763476
3477-
def_API('Z3_get_lstring' ,CHAR_PTR ,(_in(CONTEXT), _in(AST), _out(UINT)))
3477+
def_API('Z3_get_lstring' ,STRING ,(_in(CONTEXT), _in(AST), _out(UINT)))
34783478
*/
3479-
Z3_char_ptr Z3_API Z3_get_lstring(Z3_context c, Z3_ast s, unsigned* length);
3479+
Z3_string Z3_API Z3_get_lstring(Z3_context c, Z3_ast s, unsigned* length);
34803480

34813481
/**
34823482
\brief Create an empty sequence of the sequence sort \c seq.

0 commit comments

Comments
 (0)