summaryrefslogtreecommitdiff
path: root/src/util/sexpr.i
blob: 3c865c09770a1066ab9132acad665c53ca460395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%{
#include "util/sexpr.h"
%}

%ignore CVC4::operator<<(std::ostream&, const SExpr&);
%ignore CVC4::operator<<(std::ostream&, SExpr::SexprTypes);
%ignore CVC4::operator<<(std::ostream&, PrettySExprs);

// for Java and the like
%extend CVC4::SExpr {
  std::string toString() const { return self->getValue(); }
};/* CVC4::SExpr */

%ignore CVC4::SExpr::SExpr(int);
%ignore CVC4::SExpr::SExpr(unsigned int);
%ignore CVC4::SExpr::SExpr(unsigned long);
%ignore CVC4::SExpr::SExpr(const char*);

%rename(equals) CVC4::SExpr::operator==(const SExpr&) const;
%ignore CVC4::SExpr::operator!=(const SExpr&) const;

%include "util/sexpr.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback