diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-11-17 04:05:17 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-11-17 04:05:17 +0000 |
commit | 44498017455cce207bf9cb0a1ebbf67c4a4d77cf (patch) | |
tree | 18f0bf80ea93cfd1f0e49cf38b7f0baf2d457285 /src/util/output.i | |
parent | db35c4be8bd37746e1c27e446291c82556df1d05 (diff) |
* Fix for bug 445 agreed to in meeting 11/13/2012: always dump in ALL_SUPPORTED logic
* Java bindings fixes: fixed access to ostreams, iterators
* Make SmtEngine::setUserAttribute() (and others) take a const string&
* Also a few compliance fixes
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/util/output.i')
-rw-r--r-- | src/util/output.i | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/src/util/output.i b/src/util/output.i index e9f674240..dc524e185 100644 --- a/src/util/output.i +++ b/src/util/output.i @@ -2,7 +2,7 @@ #include "util/output.h" %} -%feature("valuewrapper") CVC4::null_streambuf; +%ignore CVC4::null_streambuf; %feature("valuewrapper") std::ostream; // There are issues with SWIG's attempted wrapping of these variables when @@ -24,8 +24,25 @@ %ignore CVC4::ScopedTrace::ScopedTrace(std::string); %ignore CVC4::ScopedTrace::ScopedTrace(std::string, bool); -%rename(getostream) operator std::ostream&; -%rename(getCVC4ostream) operator CVC4ostream; +%ignore CVC4::WarningC::getStream(); +%ignore CVC4::MessageC::getStream(); +%ignore CVC4::NoticeC::getStream(); +%ignore CVC4::ChatC::getStream(); +%ignore CVC4::TraceC::getStream(); +%ignore CVC4::DebugC::getStream(); +%ignore CVC4::DumpOutC::getStream(); + +%ignore CVC4::WarningC::setStream(std::ostream&); +%ignore CVC4::MessageC::setStream(std::ostream&); +%ignore CVC4::NoticeC::setStream(std::ostream&); +%ignore CVC4::ChatC::setStream(std::ostream&); +%ignore CVC4::TraceC::setStream(std::ostream&); +%ignore CVC4::DebugC::setStream(std::ostream&); +%ignore CVC4::DumpOutC::setStream(std::ostream&); + +%ignore operator std::ostream&; +%ignore operator CVC4ostream; + %rename(get) operator(); %rename(ok) operator bool; |