Kevin Mueller wrote:
> Sorry if this is the wrong location for basemap toolkit bug reports.  
> Please redirect me if that is the case.

Kevin:  Here is fine.
> Anyhow, I notice that in  pyproj.pyx, the python function
>
> PyAPI_FUNC(int) PyObject_AsWriteBuffer(PyObject *obj,
>              void **buffer,
>              Py_ssize_t *buffer_len);
>
> is incorrectly referenced as
>  
> int PyObject_AsWriteBuffer(object, void **rbuf, int *len)
>
> and chokes on 64-bit compiles.  My workaround was to more-or-less switch 
> from "int" to "long", but I'm sure there is a better solution.
>   

The key thing here is not the first int, but the second.  The 
declaration of len changed from int to Py_ssize_t in python 2.5.  I've 
fixed this in SVN (revision 2823), could you grab an updated pyproj.c 
and see if that fixes it?

-Jeff

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to