[python] external constructors

16 Jun
2008
16 Jun
'08
6:18 p.m.
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
6096
Age (days ago)
6096
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gennadiy Rozental