[Pyrex] [Cython-dev] cdef private class ... ?

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jan 31 00:43:53 CET 2008


Robert Bradshaw wrote:
> While we're on the topic of visibility, what would you think about  
> making any cdef function declared in a pxd file "cimportable"

It already is, since 0.9.6 -- see "Sharing C Functions" under
"Sharing Declarations Between Pyrex Modules".

You only need an "api" declaration for access from non-Pyrex
C code. (And I'm thinking about dropping that requirement too,
since the rules concerning what's visible where are getting
rather complicated and hard to keep track of.)

--
Greg



More information about the Pyrex mailing list