I succeeded in binding this constructor
.def(py::init<const int, const int, const string *>())
My problem is when I have to use an array of strings, if I do like this
alph2=['x','y']
z=Dfa(3,2,alph2)
it fails saying:
TypeError: __init__(): incompatible constructor arguments. The
following argument types are supported:
gi_gipy.Dfa(arg0: int, arg1: int, arg2: unicode)
So I don't know how to pass from python something that resembles a const string*
` and `#include`
– R zu May 09 '18 at 15:33