I am trying to wrap a C++ list but cannot figure out how. This is an extract of the code.
Had anyone got any ideas how I would wrap this?
class MyClass: public MyPoint { protected: ... std::list<MyPoint> path; ... public: MyClass (float xpos, float ypos):MyPoint(xpos,ypos) { MyPoint p(xpos,ypos); path.push_back(p); }; virtual std::list<MyPoint> getPath() { return path; }; };
Had anyone got any ideas how I would wrap this?