returning Python Lists from C++

Fredrik Lundh fredrik at pythonware.com
Wed Jul 7 08:11:06 EDT 1999


Mark Butterworth <mark.butterworth at cis.co.uk> wrote:
> Can anyone give me a quick example of how to return a python list object
> from a C++ function?

the python sources are full of such examples.  take
a look at array_tolist in Modules/arraymodule.c, for
example.

</F>





More information about the Python-list mailing list