Robert Bradshaw wrote:
> I would like to see something like int[n] be useable to create  
> automatically memory managed arrays of ints in the future. (Having to  
> learn malloc, etc. seems to be one of the most un-pythonic thing of  
> using Cython).

Can you reconfirm this, I always assumed it would look like

cdef int myarr[n]

i.e. the [] on the variable rather than the type (which is never a problem).

-- 
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to