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

iceryeah iceryeah2000 at 163.com
Mon May 10 09:17:35 CEST 2004


hi
faint, many spell mistakes in my message. i'm so sorry about that.
I have read the turorial, i found how to expose virtual function and
class.But my project is not like this.
i have a interface about DirectInput like this:
class iKeyboard
{
    virtual bool IsKeyDown( long value );
};

iKeyboard * GetKeyboard();  // this is a gloabe function

so i only want to know how to expose this ptr in python.
thanks


"Paul Grenyer" <paul at paulgrenyer.co.uk>
??????:200405100656.i4A6ufq16026 at ns.cricketthosting.co.uk...
> Hi
>
> >    thanks your reply.
> >    some misktake in my codes. but i you said "Surely that's in the
> > docs", can u give me a link? thanks.
>
> You're kidding, right?
>
> http://www.boost.org/libs/python/doc/tutorial/index.html
>
> Regards
> Paul
>
> 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