Wrapping up a C++ class

Carl Bray carlbray at altavista.net
Mon Jan 29 13:35:47 EST 2001


Take a look at SWIG http://www.swig.org/

<warrickb at my-deja.com> wrote in message news:954496$ues$1 at nnrp1.deja.com...
> Hi,
>
> Could anyone provide me with a simple example of wrapping a simple C++
> class for use in Python (I seem to be unable to find one - I must be
> missing something) - including the details of the creation and
> destruction of the actual C++ instance?  An extra example of dealing
> with virtual methods would also be a bonus!
>
> Thanks in advance,
>
> Warrick.
>
>
> Sent via Deja.com
> http://www.deja.com/





More information about the Python-list mailing list