[Pyrex] ANN: pyrexembed - Pyrex C++ wrapping kit
    Lenard Lindstrom 
    len-l at telus.net
       
    Wed Nov  9 18:58:44 CET 2005
    
    
  
On 9 Nov 2005 at 18:24, Greg Ewing wrote:
> Lenard Lindstrom wrote:
> 
> > cdef extern from "MyClass.h":
> >     ctypedef struct myclass "MyClass":
> >         int dosomething(float arg)
> >     myclass *myclassfactory "new MyClass" (int arg)
>                                ^^^^^^^^^^^^^
> 
> That's a rather ingenious trick!
> 
Only possible because Pyrex is very capable language. C name 
specifications can also handle function and operator overloading. I 
imaging that whatever C++ specific features that may be added to 
Pyrex will find a home in existing language constructs.
Lenard Lindstrom
<len-l at telus.net>
    
    
More information about the Pyrex
mailing list