[Pyrex] C pointers and arrays again...

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jan 27 00:03:54 UTC 2007


Adapted Cat wrote:
> Even though NULL is a reserved word in Pyrex, the generated C
> code uses 0.
> 
> Could the NULL be preserved in the C code, please?

Why? The only situation I know of where it could make
a difference is if you were using old K&R-style function
headers, which Pyrex doesn't.

> Also, it seems that there is no way to declare a C array pre-filled
> with directly in Pyrex.

That's true. It's on my list, but it doesn't have a
very high priority at the moment.

--
Greg




More information about the Pyrex mailing list