pieter <[EMAIL PROTECTED]> writes:

> I want to use a Python function that returns a double array in C++.

Return an array.array('d') object, and use the buffer protocol (for
example PyObject_AsReadBuffer()) to get the address of the underlying
array of native doubles.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to