diff options
Diffstat (limited to 'src/util/integer.i')
-rw-r--r-- | src/util/integer.i | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/util/integer.i b/src/util/integer.i new file mode 100644 index 000000000..4aaa532a7 --- /dev/null +++ b/src/util/integer.i @@ -0,0 +1,29 @@ +%{ +#include "util/integer.h" +%} + +%ignore CVC4::Integer::Integer(int); +%ignore CVC4::Integer::Integer(unsigned int); + +%rename(assign) CVC4::Integer::operator=(const Integer&); +%rename(equals) CVC4::Integer::operator==(const Integer&) const; +%ignore CVC4::Integer::operator!=(const Integer&) const; +%rename(plus) CVC4::Integer::operator+(const Integer&) const; +%rename(minus) CVC4::Integer::operator-() const; +%rename(minus) CVC4::Integer::operator-(const Integer&) const; +%rename(times) CVC4::Integer::operator*(const Integer&) const; +%rename(dividedBy) CVC4::Integer::operator/(const Integer&) const; +%rename(modulo) CVC4::Integer::operator%(const Integer&) const; +%rename(plusAssign) CVC4::Integer::operator+=(const Integer&); +%rename(minusAssign) CVC4::Integer::operator-=(const Integer&); +%rename(timesAssign) CVC4::Integer::operator*=(const Integer&); +%rename(dividedByAssign) CVC4::Integer::operator/=(const Integer&); +%rename(moduloAssign) CVC4::Integer::operator%=(const Integer&); +%rename(less) CVC4::Integer::operator<(const Integer&) const; +%rename(lessEqual) CVC4::Integer::operator<=(const Integer&) const; +%rename(greater) CVC4::Integer::operator>(const Integer&) const; +%rename(greaterEqual) CVC4::Integer::operator>=(const Integer&) const; + +%ignore CVC4::operator<<(std::ostream&, const Integer&); + +%include "util/integer.h" |