
14 Oct
2008
14 Oct
'08
7:42 p.m.
on Wed Oct 08 2008, "Robert Dailey" <rcdailey-AT-gmail.com> wrote:
What is the purpose of boost::python::borrowed? The documentation has no description for this member that I can see.
It's not a member; it's a free function. It is used to label a PyObject* so that the reference count will be incremented when a manager (e.g. python::object) gets ahold of it. HTH, -- Dave Abrahams BoostPro Computing http://www.boostpro.com