summaryrefslogtreecommitdiff
path: root/src/util/integer.i
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-11-12 18:34:32 +0000
committerMorgan Deters <mdeters@gmail.com>2012-11-12 18:34:32 +0000
commit1c2c416b953309279c43c86a46b5690642ff95dd (patch)
tree3cee55cb762199ca28aeceaa589431c064459748 /src/util/integer.i
parent0ba075e240b2083163ab35a3580547cae6927b6c (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/integer.i')
-rw-r--r--src/util/integer.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/integer.i b/src/util/integer.i
index bad6b196f..c8d2f7bdf 100644
--- a/src/util/integer.i
+++ b/src/util/integer.i
@@ -5,6 +5,7 @@
%ignore CVC4::Integer::Integer(int);
%ignore CVC4::Integer::Integer(unsigned int);
%ignore CVC4::Integer::Integer(const std::string&);
+%ignore CVC4::Integer::Integer(const std::string&, unsigned int);
%rename(assign) CVC4::Integer::operator=(const Integer&);
%rename(equals) CVC4::Integer::operator==(const Integer&) const;
@@ -25,6 +26,8 @@
%rename(greater) CVC4::Integer::operator>(const Integer&) const;
%rename(greaterEqual) CVC4::Integer::operator>=(const Integer&) const;
+%rename(apply) CVC4::IntegerHashFunction::operator()(const CVC4::Integer&) const;
+
%ignore CVC4::operator<<(std::ostream&, const Integer&);
%include "util/integer.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback