In case it helps, I'm also running into this problem, but with a multi-dimensional array. Here's an excerpt from my code:<br><br><div style="margin-left: 40px;">cdef void Submatrix(float matrix[4][4], float* sm, int column, int row):
<br> cdef int tx, ty
<br> cdef float submatrix[4][4]
<br> <br> memset(submatrix, 0, sizeof(submatrix)) # line 35<br>
</div><br>...and here is the relevant error:<br><br><div style="margin-left: 40px;">/home/mwyatt/workspace/Math3D/src/matrix.pyx:35:8: Cannot assign type 'float (([4])[4])' to 'void (*)'<br><br></div><br>
<div><span class="gmail_quote">On 5/8/07, <b class="gmail_sendername">Greg Ewing</b> <<a href="mailto:greg.ewing@canterbury.ac.nz">greg.ewing@canterbury.ac.nz</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jiba wrote:<br><br>> In conclusion, it looks like C arrays such as "float[3]" are no longer<br> > considered as pointer by Pyrex. Is that normal ?<br><br>I made some changes to the way this is implemented,
<br>and may have introduced some bugs in the process.<br>I'll look into this.<br><br>Thanks,<br>Greg<br><br>_______________________________________________<br>Pyrex mailing list<br><a href="mailto:Pyrex@lists.copyleft.no">
Pyrex@lists.copyleft.no</a><br><a href="http://lists.copyleft.no/mailman/listinfo/pyrex">http://lists.copyleft.no/mailman/listinfo/pyrex</a><br></blockquote></div><br>