Python SWIG: How to interface a List of objects

Does anybody use SWIG here?

I have written an interface file, and it works well for normal variables, stl vectors.

Without doing any typemapping it works for user defined class objects. But I have to send a list of objects from Python to C++, and vice-versa, cant figure out how. Any hints?

Would be nice if somebody can show me an example.
Topic archived. No new replies allowed.