projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed87e0c
)
Guard java-specific swig code with SWIGJAVA.
author
Thomas Hunger
<tehunger@gmail.com>
Sun, 2 Mar 2014 16:01:37 +0000
(16:01 +0000)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Tue, 4 Mar 2014 13:05:01 +0000
(08:05 -0500)
Without this building just the python bindings will fail.
Signed-off-by: Morgan Deters <mdeters@cs.nyu.edu>
src/smt/smt_engine.i
patch
|
blob
|
history
diff --git
a/src/smt/smt_engine.i
b/src/smt/smt_engine.i
index 00c332bd182df420a7b81e8dc682b95cfba12e42..7bece21b3371efb7720d0d956c5b72884998a3d2 100644
(file)
--- a/
src/smt/smt_engine.i
+++ b/
src/smt/smt_engine.i
@@
-2,6
+2,7
@@
#include "smt/smt_engine.h"
%}
+#ifdef SWIGJAVA
%typemap(javacode) CVC4::SmtEngine %{
// a ref is kept here to keep Java GC from collecting the EM
// before the SmtEngine
@@
-41,6
+42,7
@@
SWIGEXPORT void JNICALL Java_edu_nyu_acsys_CVC4_SmtEngine_dlRef(JNIEnv* jenv, jc
swigCPtr = 0;
}
}
+#endif // SWIGJAVA
%ignore CVC4::SmtEngine::setLogic(const char*);
%ignore CVC4::stats::getStatisticsRegistry(SmtEngine*);