Fixing a SWIG ordering issue between bitvector and integer.
authorTim King <taking@google.com>
Wed, 6 Jan 2016 20:43:41 +0000 (12:43 -0800)
committerTim King <taking@google.com>
Wed, 6 Jan 2016 20:43:41 +0000 (12:43 -0800)
src/cvc4.i

index 601c9a878cc584e0f12bfc48d2f2a8a27b2efaeb..b0fad9f2e95d60688e429e7cc3a614ad3d5aa5ba 100644 (file)
@@ -310,21 +310,23 @@ std::set<JavaInputStreamAdapter*> CVC4::JavaInputStreamAdapter::s_adapters;
 
 %include "options/language.i"
 
+// Tim: "util/integer.i" must come before util/{rational.i,bitvector.i}.
+%include "util/integer.i"
+%include "util/rational.i"
 %include "util/bitvector.i"
+
+// Tim: The remainder of util/.
 %include "util/bool.i"
 %include "util/cardinality.i"
 %include "util/configuration.i"
 %include "util/hash.i"
-%include "util/integer.i"
 %include "util/proof.i"
-%include "util/rational.i"
 %include "util/regexp.i"
 %include "util/result.i"
 %include "util/sexpr.i"
 %include "util/subrange_bound.i"
 %include "util/tuple.i"
 %include "util/unsafe_interrupt_exception.i"
-//%include "util/floatingpoint.i"
 
 %include "expr/uninterpreted_constant.i"
 %include "expr/statistics.i"
@@ -355,6 +357,8 @@ std::set<JavaInputStreamAdapter*> CVC4::JavaInputStreamAdapter::s_adapters;
 %include "options/options.i"
 %include "parser/cvc4parser.i"
 %include "smt/logic_exception.i"
-%include "smt/smt_engine.i"
 %include "smt_util/command.i"
 %include "theory/logic_info.i"
+
+// Tim: This should come after "theory/logic_info.i".
+%include "smt/smt_engine.i"