On Wed, Mar 31, 2010 at 15:05, Jeremy Lewi <jl...@intellisis.com> wrote:
> 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? PyArray_free() (note the capitalization). This is almost always PyMem_Free() from Python. -- 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 _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion