Hi Luciano
You can use in your class definition something like that:
class_
but I don't know why this not work when you have custom constructors like that:
class_ ("MyClass", python::no_init)
.def("__init__", python::make_constructor(my_constructor))
BR
Renato
On Tue, Nov 4, 2008 a
Hi all,
I'm using boost::python to make bindings and now I got in trouble. I'm
trying to avoid Python deleting my C++ class before other classes but
I didn't find any clue on how to do this. Is there a way to tell boost
that my object should be the last one to be deleted? Thanks in
advance!
Regar