Boost logo

Boost :

From: Peter.Bienstman_at_[hidden]
Date: 2001-07-10 07:44:18


On the topic of converting pointers in
http://www.boost.org/libs/python/doc/pointers.html ,

return
boost::python::python_extension_class_converters<Foo>::ptr_to_python
(p);

should be replaced by

return
boost::python::python_extension_class_converters<Foo>::smart_ptr_to_py
thon(p);

Peter


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk