Hi Renato,

You can use "boost::python::ptr(your_cpp_cpointer)" this avoid create
unecessary copies.

Thanks for the tip, boost::ref() for references and boost::python::ptr() for pointers, makes sense.

J-S
--
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to