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/sexpr.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/sexpr.i')
-rw-r--r-- | src/util/sexpr.i | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/sexpr.i b/src/util/sexpr.i index dba8a0f29..5d78142f3 100644 --- a/src/util/sexpr.i +++ b/src/util/sexpr.i @@ -10,4 +10,7 @@ std::string toString() const { return self->getValue(); } };/* CVC4::SExpr */ +%rename(equals) CVC4::SExpr::operator==(const SExpr&) const; +%ignore CVC4::SExpr::operator!=(const SExpr&) const; + %include "util/sexpr.h" |