$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-06-16 14:18:40
Hi,
is there any way to register external constructor for C++ class?
Specifically If I have class
class A {
...
};
I want to register constructor like this:
class_<A>(...)
.def( "__init__", &make_A )
where make_A is defined something like:
void
make_A( A&, boost::python::list const& );
Doesn't seem to work like this.
Gennadiy