[C++-sig] a boost.python question about parameter that is a pointer of instance.
Sybren A. Stüvel
sybren at stuvel.eu
Sat Nov 17 16:53:48 CET 2012
On 17 November 2012 16:46, simon zhang <hapopen at gmail.com> wrote:
> > func( &rt );
> How to make a parameter of c++ instance's pointer to a python function.
>
> > def pfunc( ret )
> > print ret.long
> > print ret.area()
> How to use c++ instance in python code.
> parameter
>
Have you tried what you coded already? Did it give you any error messages?
There is a lot of documentation out there (although not all of it equally
clear) , have you tried that?
--
Sybren A. Stüvel
http://stuvel.eu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20121117/659814b0/attachment.html>
More information about the Cplusplus-sig
mailing list