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

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Feb 26 23:47:30 UTC 2007


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.

--
Greg



More information about the Pyrex mailing list