Wrapper for C++ list
BlitzMax Forums/BlitzMax Programming/Wrapper for C++ list
| ||
I am trying to wrap a C++ list but cannot figure out how. This is an extract of the code.
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? |