|
Boost Users : |
Subject: Re: [Boost-users] [python] converting C++ object to PyObject
From: Johan Råde (johan.rade_at_[hidden])
Date: 2011-07-29 07:29:07
On 2011-07-27 11:06, Johan Råde wrote:
> What is missing here is code that converts X*, Y* and Z* to PyObject*.
> How do I write that?
I figured out the answer:
boost::python::api::object(...).ptr()
It is not easy to find these things in boost.python documentation.
--Johan
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net