[Pyrex] How to use C functions in many Pyrex files?

Francesc Altet faltet at carabos.com
Tue Feb 27 09:15:38 UTC 2007


A Dimarts 27 Febrer 2007 00:47, Greg Ewing escrigué:
> Francesc Altet wrote:
> > I found that the most effective way
> > would be that Pyrex would support declaring those C funcions on .pxd
> > files and selectively 'cimport' them.
>
> That's not supported yet, although I hope to do
> something about it in the next version.
>
> In the meantime, you can achieve much the same
> effect using an instance of an extension type
> with C methods.

Yes, I know. It's only that I find the C functions approach much more neat. 

Regards,

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"



More information about the Pyrex mailing list