summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac8
-rw-r--r--src/cvc4.i11
2 files changed, 16 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 6970a7ae2..ab1abdf53 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1465,9 +1465,11 @@ EOF
if test -n "$CVC4_UNSUPPORTED_LANGUAGE_BINDINGS"; then
AC_MSG_WARN([])
- AC_MSG_WARN([You are electing to build unsupported language binding(s): $CVC4_UNSUPPORTED_LANGUAGE_BINDINGS])
- AC_MSG_WARN([Please be aware that these bindings may not compile, or work, and the interface to CVC4 via])
- AC_MSG_WARN([these bindings may change drastically in upcoming releases of CVC4.])
+ AC_MSG_WARN([You are electing to build unsupported language binding(s):])
+ AC_MSG_WARN([ $CVC4_UNSUPPORTED_LANGUAGE_BINDINGS])
+ AC_MSG_WARN([Please be aware that these bindings may not compile, or])
+ AC_MSG_WARN([work, and the interface to CVC4 via these bindings may])
+ AC_MSG_WARN([change drastically in upcoming releases of CVC4.])
AC_MSG_WARN([])
fi
diff --git a/src/cvc4.i b/src/cvc4.i
index a84d69cf7..c92ce3054 100644
--- a/src/cvc4.i
+++ b/src/cvc4.i
@@ -61,6 +61,17 @@ std::set<JavaInputStreamAdapter*> CVC4::JavaInputStreamAdapter::s_adapters;
#endif
%}
+#ifdef SWIGPYTHON
+%pythonappend CVC4::SmtEngine::SmtEngine %{
+ print 'hello smtengine'
+ self.thisown = 0
+%}
+%pythonappend CVC4::ExprManager::ExprManager %{
+ print 'hello exprmanager'
+ self.thisown = 0
+%}
+#endif /* SWIGPYTHON */
+
%template(vectorCommandPtr) std::vector< CVC4::Command* >;
%template(vectorType) std::vector< CVC4::Type >;
%template(vectorExpr) std::vector< CVC4::Expr >;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback