[sage-support] Re: #if in cython?

2007-10-13 Thread mabshoff
On Oct 14, 2:37 am, Simon King <[EMAIL PROTECTED]> wrote: > Dear William, > > you wrote: > > This question belongs in the cython or pyrex mailing lists, > > rather than sage-support, so I've forwarded it there. > > After posting my question, i found an answer to my question in the > web: > Pyrex

[sage-support] Re: #if in cython?

2007-10-13 Thread Simon King
Dear William, you wrote: > This question belongs in the cython or pyrex mailing lists, > rather than sage-support, so I've forwarded it there. After posting my question, i found an answer to my question in the web: Pyrex 0.9.6 provides conditional compilation. See http://www.cosc.canterbury.ac.n

[sage-support] Re: #if in cython?

2007-10-13 Thread William Stein
On 10/13/07, Simon King <[EMAIL PROTECTED]> wrote: > > Dear sage-supporters, > > a question on pyrex/cython: > I have type definitions depending on an environment variable, such as > > #if ZZZ==zzz > typedef unsigned char FEL; > #elif ZZZ==bigzzz > typedef unsigned short FEL; > > Is there a way to