[Python-3000] how about switching to a preprocessor? (Re: A better way to initialize PyTypeObject)

Antoine Pitrou solipsis at pitrou.net
Sat Dec 2 23:28:17 CET 2006


Le samedi 02 décembre 2006 à 13:58 -0700, Neil Toronto a écrit :
> One potential problem with this idea is that you can't drop into C code 
> without calling an external C function, which may not be acceptable in 
> some instances.

Are you sure ?
I think you could declare a C macro as an "external function" in the
Pyrex code and Pyrex would probably be happy with that. (I've never
tried though ;-))

Antoine.




More information about the Python-3000 mailing list