* wrap/python/spot.i: Add an ostringstream emulation.
This commit is contained in:
parent
1bad681a4b
commit
4d819969d0
2 changed files with 12 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
%{
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
||||
#include "ltlast/formula.hh"
|
||||
#include "ltlast/refformula.hh"
|
||||
|
|
@ -132,6 +133,13 @@ namespace std {
|
|||
ofstream(const char *fn);
|
||||
~ofstream();
|
||||
};
|
||||
class ostringstream : public ostream
|
||||
{
|
||||
public:
|
||||
ostringstream();
|
||||
std::string str() const;
|
||||
~ofstream();
|
||||
};
|
||||
}
|
||||
|
||||
%inline %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue