game: Add set_state_player() and get_state_player()

Fixes #424.

* python/spot/impl.i: Add implicit convertion for vector<bool>.
* spot/misc/game.cc, spot/misc/game.hh: Add set_state_player()
  and get_state_player().
* tests/python/parity.py: Test them.
This commit is contained in:
Jerome Dubois 2020-09-15 14:26:11 +02:00
parent 0339e1fec8
commit ae7d4504cd
4 changed files with 123 additions and 0 deletions

View file

@ -458,6 +458,7 @@ static void handle_any_exception()
%implicitconv std::vector<spot::formula>;
%implicitconv spot::formula;
%implicitconv std::vector<bool>;
%include <spot/tl/formula.hh>