mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
call it data instead of c_ptr for approaching C++11 std::vector convention.
This commit is contained in:
parent
524dcd35f9
commit
4a6083836a
456 changed files with 2802 additions and 2802 deletions
|
@ -62,7 +62,7 @@ extern "C" {
|
|||
RESET_ERROR_CODE();
|
||||
unsigned_vector chs;
|
||||
for (unsigned i = 0; i < sz; ++i) chs.push_back((unsigned char)str[i]);
|
||||
zstring s(sz, chs.c_ptr());
|
||||
zstring s(sz, chs.data());
|
||||
app* a = mk_c(c)->sutil().str.mk_string(s);
|
||||
mk_c(c)->save_ast_trail(a);
|
||||
RETURN_Z3(of_ast(a));
|
||||
|
@ -188,7 +188,7 @@ extern "C" {
|
|||
}
|
||||
}
|
||||
*length = buffer.size();
|
||||
return buffer.c_ptr();
|
||||
return buffer.data();
|
||||
Z3_CATCH_RETURN("");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue