summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-09-14 19:25:58 +0000
committerMorgan Deters <mdeters@gmail.com>2012-09-14 19:25:58 +0000
commit16414ea3a5fdee07005a107d2ad257c1ebb4f5f3 (patch)
treed9214f086592a99061b858c35b531a55018fc445
parentd9caa38b8c2b24611de7ed9a3725bd74d2653ccc (diff)
a fix for the java bindings for wei
-rw-r--r--src/util/datatype.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/datatype.i b/src/util/datatype.i
index 2b2a96030..29965aadf 100644
--- a/src/util/datatype.i
+++ b/src/util/datatype.i
@@ -6,11 +6,15 @@
/* These member functions have slightly different signatures in
* different swig language packages. The underlying issue is that
* DatatypeConstructor doesn't have a default constructor */
+#ifdef SWIGOCAML
%ignore vector(unsigned int size = 0);// ocaml
%ignore set( int i, const CVC4::Datatype &x );// ocaml
%ignore to_array();// ocaml
+#endif /* SWIGOCAML */
+#if defined(SWIGJAVA) || defined(SWIGPYTHON)
%ignore vector(size_type);// java/python
%ignore resize(size_type);// java/python
+#endif /* SWIGJAVA || SWIGPYTHON */
%ignore set(int i, const CVC4::Datatype& x);
%ignore to_array();
};
@@ -20,11 +24,15 @@
/* These member functions have slightly different signatures in
* different swig language packages. The underlying issue is that
* DatatypeConstructor doesn't have a default constructor */
+#ifdef SWIGOCAML
%ignore vector(unsigned int size = 0);// ocaml
%ignore set( int i, const CVC4::DatatypeConstructor &x );// ocaml
%ignore to_array();// ocaml
+#endif /* SWIGOCAML */
+#if defined(SWIGJAVA) || defined(SWIGPYTHON)
%ignore vector(size_type);// java/python
%ignore resize(size_type);// java/python
+#endif /* SWIGJAVA || SWIGPYTHON */
%ignore set(int i, const CVC4::Datatype::Constructor& x);
%ignore to_array();
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback