[Numpy-discussion] How to export a CObject from NumPy to my own module?

Robert Kern robert.kern at gmail.com
Wed Nov 24 12:40:04 EST 2010


On Wed, Nov 24, 2010 at 11:35, NumPyStudent
<jens.marquard.ipsen at gmail.com> wrote:
>
> Well, I believe I should problably use the PyArray_API instead
> (http://www.velocityreviews.com/forums/t358140-re-dynamically-loaded-libraries.html),
> since it seems it's implemented in NumPy for this exact reason(?).
> Can anyone point me in the direction of a good step-step guide og using this
> api to export function pointers from NumPy to your own modules?

http://docs.scipy.org/doc/numpy/user/c-info.how-to-extend.html?highlight=import_array

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list