[Numpy-discussion] Dealloat Numy arrays in C
Wed Mar 31 16:05:32 CDT 2010
I'm passing a numpy array into a C-extension. I would like my C-extension to
take ownership of the data and handle deallocating the memory when it is no
longer needed. (The data is large so I want to avoid unnecessarily copying
So my question is what is the best way to ensure I'm using the correct
memory deallocator for the buffer? i.e the deallocator for what ever
allocator numpy used to allocate the array?
The Intellisis Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion