[Numpy-discussion] array_getcharbuf()

Jack Jansen jack at oratrix.nl
Thu Mar 1 09:35:23 EST 2001

My compiler gives an error on array_getcharbuf() (in arrayobject.c),
and on inspection it looks as though it is right.

Array_getcharbuf() has a char **ptrptr argument, and it passes *ptrptr 
to array_getreadbuf(), which expects a void **. My guess is that it
needs to pass ptrptr, not *ptrptr.

And it definitely needs a cast...

This is all from the repository sources, by the way.
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen at oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | ++++ see http://www.xs4all.nl/~tank/ ++++

More information about the NumPy-Discussion mailing list