[Numpy-discussion] numpy array to C API
Wed Mar 20 08:59:33 CDT 2013
I'm extending our existing C/C++ software with Python/Numpy in order to do extra number crunching.
It already works like a charm calling python with the C API <Python.h>.
But what is the proper way of passing double arrays returned from Python/Numpy routines back to C?
I came across PyArray but I can see in the compiler warnings, it is deprecated and I don't wanna start from scratch on legacy facilities.
Going forward, what is the intended way of doing this with neat code on both sides and with a minimum of mem copy gymnastics overhead?
thanks in advance
More information about the NumPy-Discussion