[Pyrex] Pyrex and const (Re: constify Cython output all over the place (newbie approach))

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 15 02:34:33 CEST 2008


There's something I've been meaning to ask people
about. Until I find a way of handling const properly,
I'm considering having Pyrex put this at the top of
its generated files:

   #define const

so that all Pyrex-generated code will be a totally
const-free zone.

But I don't want to do this if there's a chance
it could break something. Can anyone think of any
problems it could cause?

-- 
Greg



More information about the Pyrex mailing list