[Cython] cython-devel: array declaration problems with current trunk

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Aug 6 02:21:20 CEST 2008


Lisandro Dalcin wrote:

> However, perhaps I could change sizeof(int[3]) to 3*sizeof(int). It
> seems it should be equivalent, but I'm not completelly sure?

Yes, I think it will be equivalent. (It had better be,
otherwise a lot of code that allocates memory for arrays
is broken...)

But the original syntax should be made to work if
possible.

-- 
Greg


More information about the Cython-dev mailing list