[Numpy-discussion] swig svn commits

Bill Spotz wfspotz at sandia.gov
Sat Mar 24 12:04:41 EDT 2007


No, I don't consider native byte order.  What was your solution?

The typecheck typemap is so that swig can perform isolated type  
checking when it is creating dispatch code for overloaded functions.   
The typechecks I added for INPLACE arrays require that the argument  
be a numpy array and that PyArray_EquivTypenums() return true for the  
provided and requested types.

On Mar 23, 2007, at 3:03 PM, Sebastian Haase wrote:

> Hi,
> this is regarding the svn commit by wfspotz.
>
> Author: wfspotz at sandia.gov
> Date: 2007-03-23 13:04:37 -0500 (Fri, 23 Mar 2007)
> New Revision: 3593
>
> Modified:
>   trunk/numpy/doc/swig/numpy.i
> Log:
> Added typecheck typemaps to INPLACE_ARRAY typemap suites
>
> Hi wfspotz,
> I was just wondering if you consider checking for "native byte order"
> as part of your inplace-typemap.
> I found that to be a problem in my SWIG type maps
> that I hi-jacked / boiled down  from the older numpy swig files.
> (They are mostly for 3D image data, only for a small number of types)
>
> -Sebastian
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion

** Bill Spotz                                              **
** Sandia National Laboratories  Voice: (505)845-0170      **
** P.O. Box 5800                 Fax:   (505)284-5451      **
** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **






More information about the NumPy-Discussion mailing list