acc_cond: allow ctor from acc_code only + bind unsat_mark()

* spot/twa/acc.hh: Here.
* wrap/python/spot_impl.i: Adjust for the strange return type of
unsat_mark().
* wrap/python/tests/acc_cond.ipynb: Augment.
This commit is contained in:
Alexandre Duret-Lutz 2015-12-18 17:04:03 +01:00
parent b893b55973
commit d0b29051b2
3 changed files with 184 additions and 21 deletions

View file

@ -34,6 +34,7 @@
%include "std_list.i"
%include "std_set.i"
%include "std_map.i"
%include "std_pair.i"
%include "stdint.i"
%include "exception.i"
%include "typemaps.i"
@ -356,6 +357,8 @@ namespace std {
%feature("flatnested") spot::acc_cond::acc_code;
%apply bool* OUTPUT {bool& max, bool& odd};
%include <spot/twa/acc.hh>
%template(pair_bool_mark) std::pair<bool, spot::acc_cond::mark_t>;
%include <spot/twa/twa.hh>
%include <spot/tl/apcollect.hh>