mirror of
https://github.com/Z3Prover/z3
synced 2025-05-07 15:55:46 +00:00
Remove usages of Z3_TRUE / Z3_FALSE.
Now that this is all using stdbool.h, we can just use true/false. For now, we leave the aliases in place in z3_api.h.
This commit is contained in:
parent
8b2450aba7
commit
56bbed173e
23 changed files with 188 additions and 189 deletions
|
@ -34,7 +34,7 @@ extern "C" {
|
|||
}
|
||||
|
||||
Z3_bool Z3_API Z3_open_log(Z3_string filename) {
|
||||
Z3_bool res = Z3_TRUE;
|
||||
Z3_bool res = true;
|
||||
|
||||
#ifdef Z3_LOG_SYNC
|
||||
#pragma omp critical (z3_log)
|
||||
|
@ -46,7 +46,7 @@ extern "C" {
|
|||
if (g_z3_log->bad() || g_z3_log->fail()) {
|
||||
dealloc(g_z3_log);
|
||||
g_z3_log = nullptr;
|
||||
res = Z3_FALSE;
|
||||
res = false;
|
||||
}
|
||||
else {
|
||||
*g_z3_log << "V \"" << Z3_MAJOR_VERSION << "." << Z3_MINOR_VERSION << "." << Z3_BUILD_NUMBER << "." << Z3_REVISION_NUMBER << " " << __DATE__ << "\"\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue