mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 19:05:51 +00:00
Switch from using Z3_bool to using bool.
This is a continuation of the work started by using stdbool and continued by switching from Z3_TRUE|FALSE to true|false.
This commit is contained in:
parent
a076e33037
commit
edf8ba44d1
28 changed files with 182 additions and 182 deletions
|
@ -36,7 +36,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_is_value', BOOL, (_in(CONTEXT), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_is_value(Z3_context c, Z3_ast a);
|
||||
bool Z3_API Z3_algebraic_is_value(Z3_context c, Z3_ast a);
|
||||
|
||||
/**
|
||||
\brief Return \c true if \c a is positive, and \c false otherwise.
|
||||
|
@ -45,7 +45,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_is_pos', BOOL, (_in(CONTEXT), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_is_pos(Z3_context c, Z3_ast a);
|
||||
bool Z3_API Z3_algebraic_is_pos(Z3_context c, Z3_ast a);
|
||||
|
||||
/**
|
||||
\brief Return \c true if \c a is negative, and \c false otherwise.
|
||||
|
@ -54,7 +54,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_is_neg', BOOL, (_in(CONTEXT), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_is_neg(Z3_context c, Z3_ast a);
|
||||
bool Z3_API Z3_algebraic_is_neg(Z3_context c, Z3_ast a);
|
||||
|
||||
/**
|
||||
\brief Return \c true if \c a is zero, and \c false otherwise.
|
||||
|
@ -63,7 +63,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_is_zero', BOOL, (_in(CONTEXT), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_is_zero(Z3_context c, Z3_ast a);
|
||||
bool Z3_API Z3_algebraic_is_zero(Z3_context c, Z3_ast a);
|
||||
|
||||
/**
|
||||
\brief Return 1 if \c a is positive, 0 if \c a is zero, and -1 if \c a is negative.
|
||||
|
@ -148,7 +148,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_lt', BOOL, (_in(CONTEXT), _in(AST), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_lt(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
bool Z3_API Z3_algebraic_lt(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
|
||||
/**
|
||||
\brief Return \c true if a > b, and \c false otherwise.
|
||||
|
@ -158,7 +158,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_gt', BOOL, (_in(CONTEXT), _in(AST), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_gt(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
bool Z3_API Z3_algebraic_gt(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
|
||||
/**
|
||||
\brief Return \c true if a <= b, and \c false otherwise.
|
||||
|
@ -168,7 +168,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_le', BOOL, (_in(CONTEXT), _in(AST), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_le(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
bool Z3_API Z3_algebraic_le(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
|
||||
/**
|
||||
\brief Return \c true if a >= b, and \c false otherwise.
|
||||
|
@ -178,7 +178,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_ge', BOOL, (_in(CONTEXT), _in(AST), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_ge(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
bool Z3_API Z3_algebraic_ge(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
|
||||
/**
|
||||
\brief Return \c true if a == b, and \c false otherwise.
|
||||
|
@ -188,7 +188,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_eq', BOOL, (_in(CONTEXT), _in(AST), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_eq(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
bool Z3_API Z3_algebraic_eq(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
|
||||
/**
|
||||
\brief Return \c true if a != b, and \c false otherwise.
|
||||
|
@ -198,7 +198,7 @@ extern "C" {
|
|||
|
||||
def_API('Z3_algebraic_neq', BOOL, (_in(CONTEXT), _in(AST), _in(AST)))
|
||||
*/
|
||||
Z3_bool Z3_API Z3_algebraic_neq(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
bool Z3_API Z3_algebraic_neq(Z3_context c, Z3_ast a, Z3_ast b);
|
||||
|
||||
/**
|
||||
\brief Given a multivariate polynomial p(x_0, ..., x_{n-1}, x_n), returns the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue