I'm cleaning up some of our python bindings for public release as
part of the openexr distribution, and wanted to update the python
bindings of our exception library, Iex, to use boost::python.
The first thing I did was the trivial binding of the class hierarchy
out to python, and performed regist
I'm trying to pass an object from python to C++. I want C++ to take control of
the object.
The object I'm trying to change ownership on is defined in it's module as
follows (superfluous code removed):
BOOST_PYTHON_MODULE(ComponentModule){
class_ >("Component"
Sorry just as a quick append, UseComponentWrap inherits from UseComponent to
allow overriding of a few virtual methods
On 2011-11-08, at 1:13 AM, "Jay Riley" wrote:
> I'm trying to pass an object from python to C++. I want C++ to take control
> of the object.
>
> The object I'm trying to chan