void * C array to a Numpy array using Swig
Travis E. Oliphant
oliphant.travis at ieee.org
Fri Jan 13 02:01:39 CET 2006
Philip Austin wrote:
> "Travis E. Oliphant" <oliphant.travis at ieee.org> writes:
>>Yes, you are right that you need to use typemaps. It's been awhile
>>since I did this kind of thing, but here are some pointers.
> Also, there's http://geosci.uchicago.edu/csc/numptr
This is interesting.
I've noticed his getpointerX functions seem to be implemented already by
PyArray_AsCArray in the new NumPy.
More information about the Python-list