[Pyrex] Use of ctypdef MyClass [object, type]

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Oct 11 01:00:24 CEST 2007


Matthieu Brucher wrote:
> I saw the use of ctypedef Myclass [object something, type somethingElse] 
> with the public keyword.

> Is there a example somewhere to know how to use it ?

Not that I know of at the moment. I'll consider adding
one to the manual.

You only need to declare an extension type as 'public'
if you're implementing it in Pyrex want to use it in
external C code. If that's really what you want to do,
let me know and I'll explain further.

--
Greg



More information about the Pyrex mailing list