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

This commit is contained in:
Alexandre Duret-Lutz 2003-08-04 20:52:02 +00:00
parent 01cc802c2d
commit 1bad681a4b
2 changed files with 16 additions and 0 deletions

View file

@ -6,6 +6,9 @@
%import "buddy.i"
%{
#include <iostream>
#include <fstream>
#include "ltlast/formula.hh"
#include "ltlast/refformula.hh"
#include "ltlast/atomic_prop.hh"
@ -120,6 +123,17 @@ using namespace spot;
}
%nodefault std::ostream;
namespace std {
class ostream {};
class ofstream : public ostream
{
public:
ofstream(const char *fn);
~ofstream();
};
}
%inline %{
spot::ltl::parse_error_list