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

Cheers,
  Volker
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to