summaryrefslogtreecommitdiff
path: root/src/util/sexpr.i
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-09-20 13:36:12 +0000
committerMorgan Deters <mdeters@gmail.com>2012-09-20 13:36:12 +0000
commit2c7da77682998d520136249897f69ceed53d49a9 (patch)
tree42b59ab42fa08392b0d6ab7902490ea98624136d /src/util/sexpr.i
parent46c12d84290f3ed23bd0b435c6e8e5852ab1af39 (diff)
some bugfixes that come as a result of debugging some CASCADE/C stuff..
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/util/sexpr.i')
-rw-r--r--src/util/sexpr.i5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/sexpr.i b/src/util/sexpr.i
index 99f197ff7..dba8a0f29 100644
--- a/src/util/sexpr.i
+++ b/src/util/sexpr.i
@@ -5,4 +5,9 @@
%ignore CVC4::operator<<(std::ostream&, const SExpr&);
%ignore CVC4::operator<<(std::ostream&, SExpr::SexprTypes);
+// for Java and the like
+%extend CVC4::SExpr {
+ std::string toString() const { return self->getValue(); }
+};/* CVC4::SExpr */
+
%include "util/sexpr.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback