summaryrefslogtreecommitdiff
path: root/src/cvc4.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/cvc4.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/cvc4.i')
-rw-r--r--src/cvc4.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cvc4.i b/src/cvc4.i
index ee760c569..53444539a 100644
--- a/src/cvc4.i
+++ b/src/cvc4.i
@@ -111,6 +111,7 @@ using namespace CVC4;
%}
%typemap(throws) ModalException = Exception;
+%typemap(throws) LogicException = Exception;
%typemap(throws) OptionException = Exception;
%typemap(throws) IllegalArgumentException = Exception;
%typemap(throws) AssertionException = Exception;
@@ -124,7 +125,7 @@ using namespace CVC4;
// Generate an error if the mapping from C++ CVC4 Exception to Java CVC4 Exception doesn't exist above
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE *, SWIGTYPE [], SWIGTYPE [ANY] %{
-#error "exception $1_type doesn't map to Java correctly"
+#error "exception $1_type doesn't map to Java correctly---please edit src/cvc4.i and add it"
%}
%include "java/typemaps.i" // primitive pointers and references
@@ -151,7 +152,6 @@ using namespace CVC4;
%include "util/array.i"
%include "util/array_store_all.i"
%include "util/hash.i"
-%include "util/util_model.i"
%include "expr/type.i"
%include "util/ascription_type.i"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback