Ticket #136 (enhancement)

Opened 2 years ago

C++ vectors of vectors are not accesible in python. SWIG magic required

Status: new

Reported by: guest Assigned to: eb
Priority: normal Milestone: to-be-decided
Component: gr-trellis Version: 3.0.1
Keywords: swig magic Cc:

the "fsm" class in gr-trellis uses vectors of vectors:

class fsm {
private:
  ...
  std::vector< std::vector<int> > d_PS;
public:
  ...
  const std::vector< std::vector<int> > & PS () const { return d_PS; }
};

Everything works fine, except the accessors for this are not working in Python. Don't know how to make SWIG translate these structures to python...