Dag Sverre Seljebotn wrote:

(Re inout modifier:)
> Consider this:
>
> cdef int[:,:] matrix
> cdef func(inout matrix arg):
>     cdef matrix var
>     ...
>
> So I'd like to avoid putting it in the brackets.
>   
I made a quite critical typo there -- it should be

ctypedef int[:,:] matrix

That should make it more understandable...

Dag Sverre
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to