python: fix return of is_rabin_like() and is_streett_like()
* python/spot/impl.i: Fix instantiation of vector_rs_pairs. * tests/python/setacc.py: Add test cases. * NEWS: Mention the bugs.
This commit is contained in:
parent
266581b272
commit
5bb9c87d4c
3 changed files with 25 additions and 2 deletions
|
|
@ -475,7 +475,9 @@ namespace std {
|
|||
%feature("flatnested") spot::acc_cond::acc_code;
|
||||
%feature("flatnested") spot::acc_cond::rs_pair;
|
||||
%apply bool* OUTPUT {bool& max, bool& odd};
|
||||
%template(vector_rs_pair) std::vector<spot::acc_cond::rs_pair>;
|
||||
namespace std {
|
||||
%template(vector_rs_pair) vector<spot::acc_cond::rs_pair>;
|
||||
}
|
||||
%apply std::vector<spot::acc_cond::rs_pair> &OUTPUT {std::vector<spot::acc_cond::rs_pair>& pairs}
|
||||
%include <spot/twa/acc.hh>
|
||||
%template(pair_bool_mark) std::pair<bool, spot::acc_cond::mark_t>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue