Commit 1bad681a authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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

parent 01cc802c
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment