[Numpy-discussion] C API

Charles R Harris charlesr.harris@gmail....
Thu May 22 16:55:48 CDT 2008


On Thu, May 22, 2008 at 3:34 PM, Travis E. Oliphant <oliphant@enthought.com>
wrote:

> Charles R Harris wrote:
> > All,
> >
> > I added a function to array_api_order.txt and apparently this changed
> > the order of the pointers in the API, which caused ctypes to segfault
> > until I removed the build directory and did a complete rebuild. It
> > seems to me that if we really want to make adding these API functions
> > safe, then we should only have one list instead of the current two.
> > This looks to require some mods to the build system. What do folks think?
> Yes, or a simple solution is to only append to one of the lists.   At
> the very least,  we should mark the array_api_order as not appendable.
>

That doesn't work unless I change the tag from OBJECT_API to MULTIARRAY_API.
Do these tags really matter? Maybe we should just replace them with API and
merge this lists. At the beginning of 1.2, of course.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080522/727ea0ea/attachment.html 


More information about the Numpy-discussion mailing list