On 04/02/2013 07:20 PM, Volker Mische wrote: > On 03/22/2013 02:47 PM, Volker Mische wrote: >> Hi all, >> >> I was excited to see that 'const' is finally supported, but constant >> pointers are not. Here's an example with the corresponding error: >> >> Error compiling Cython file: >> ------------------------------------------------------------ >> ... >> cdef extern int foo(const int *const bar) >> ^ >> ------------------------------------------------------------ >> >> const.pxd:1:37: Expected ')', found 'bar' > > I tried to implement it myself, please let me know if that's the way to > go: https://github.com/cython/cython/pull/203
I revive that this thread as I did another change, that hasn't seen any review. I thought about waiting a few days, but then I read that the 0.19b1 was tagged and I would like to see this change merged before the final 0.19. Though I don't know if that's possible with Cython's release procedure. The pull request is here: https://github.com/cython/cython/pull/204 With that one merged I got rid of all warnings I got when using a library that makes heavy use of consts. Cheers, Volker _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel