diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-11-12 18:34:32 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-11-12 18:34:32 +0000 |
commit | 1c2c416b953309279c43c86a46b5690642ff95dd (patch) | |
tree | 3cee55cb762199ca28aeceaa589431c064459748 /src/util/subrange_bound.i | |
parent | 0ba075e240b2083163ab35a3580547cae6927b6c (diff) |
* Fix language bindings: various issues
** remove a number of warnings in bindings generation
** give appropriate names for operator-overloading
** make sure Java language bindings are built with -fno-strict-aliasing, to ensure the optimizer doesn't produce bad code
* Also remove BitVector::equals(), which wasn't used and was inconsistently implemented (operator==() is still there).
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/util/subrange_bound.i')
-rw-r--r-- | src/util/subrange_bound.i | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/util/subrange_bound.i b/src/util/subrange_bound.i index 6b02414ab..c619b5e31 100644 --- a/src/util/subrange_bound.i +++ b/src/util/subrange_bound.i @@ -4,6 +4,17 @@ %rename(equals) CVC4::SubrangeBound::operator==(const SubrangeBound&) const; %ignore CVC4::SubrangeBound::operator!=(const SubrangeBound&) const; +%rename(less) CVC4::SubrangeBound::operator<(const SubrangeBound&) const; +%rename(lessEqual) CVC4::SubrangeBound::operator<=(const SubrangeBound&) const; +%rename(greater) CVC4::SubrangeBound::operator>(const SubrangeBound&) const; +%rename(greaterEqual) CVC4::SubrangeBound::operator>=(const SubrangeBound&) const; + +%rename(equals) CVC4::SubrangeBounds::operator==(const SubrangeBounds&) const; +%ignore CVC4::SubrangeBounds::operator!=(const SubrangeBounds&) const; +%rename(less) CVC4::SubrangeBounds::operator<(const SubrangeBounds&) const; +%rename(lessEqual) CVC4::SubrangeBounds::operator<=(const SubrangeBounds&) const; +%rename(greater) CVC4::SubrangeBounds::operator>(const SubrangeBounds&) const; +%rename(greaterEqual) CVC4::SubrangeBounds::operator>=(const SubrangeBounds&) const; %ignore CVC4::operator<<(std::ostream&, const SubrangeBound&); |