[C++-sig] How to expose an c++ object?

Paul Grenyer paul at paulgrenyer.co.uk
Fri May 7 09:07:11 CEST 2004


> i have a c++ class and its intance.like this:
> class Input
> {
>         virtual bool IsKeyDown( DWORD key );
> };

Aren't you missing keyword here?

> Input p = new Input;
> then i just want p to expose to python.
> so how can do this?

Surely that's in the docs. Have you looked?


Paul Grenyer
Email: paul at paulgrenyer.co.uk
Web: http://www.paulgrenyer.co.uk

Have you met Aeryn: http://www.paulgrenyer.co.uk/aeryn/?
Version 0.3.0 beta now available for download.

More information about the Cplusplus-sig mailing list