* 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
|
|
@ -1,5 +1,7 @@
|
|||
2003-08-04 Alexandre Duret-Lutz <aduret@src.lip6.fr>
|
||||
|
||||
* wrap/python/spot.i: Add an ofstream emulation.
|
||||
|
||||
* wrap/python/spot.i: Declare spot::tgba::get_init_state,
|
||||
spot::tgba::succ_iter, and spot::tgba_succ_iterator::current_state
|
||||
as constructors.
|
||||
|
|
|
|||
|
|
@ -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