On Aug 6, 2008, at 1:52 AM, Dag Sverre Seljebotn wrote: > 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).
I'm talking about dynamically created ones. Not sure of the right syntax yet though. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
