* wrap/python/spot.i: Add an ostringstream emulation.

This commit is contained in:
Alexandre Duret-Lutz 2003-08-04 22:32:11 +00:00
parent 1bad681a4b
commit 4d819969d0
2 changed files with 12 additions and 0 deletions

View file

@ -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 %{