Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Bo Peng <ben.bob@gm...> - 2008-10-18 23:03:13
I am using std_vector.i to pass and return std::vector<int> etc from
C++ to Python. I notice that a function
would return a Python tuple if 'func()' is called in Python. How can I
make swig return a list? I notice something like
SWIG_PYTHON_OUTPUT_TUPLE in the generated wrap file but I do not know
if it is used for such a purpose.
Many thanks in advance.