* wrap/python/spot.i: Add an ofstream emulation.
This commit is contained in:
parent
01cc802c2d
commit
1bad681a4b
2 changed files with 16 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue