On 17 November 2012 16:46, simon zhang <hapo...@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/
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig