* wrap/python/spot.i: Declare spot::ltl_to_tgba as a constructor.

* wrap/python/tests/ltl2tgba.py: Do not force `thisown=1' on tgba
objects.
This commit is contained in:
Alexandre Duret-Lutz 2003-08-04 14:36:04 +00:00
parent 1095dd7533
commit ea9a96237b
3 changed files with 10 additions and 8 deletions

View file

@ -73,6 +73,8 @@ using namespace spot;
%include "ltlvisit/tostring.hh"
%include "ltlvisit/tunabbrev.hh"
%feature("new") spot::ltl_to_tgba;
// Help SWIG with namespace lookups.
#define ltl spot::ltl
%include "tgba/bdddict.hh"