|
Re: set_wrapper: msg#00289python.c++
Giulio Eulisse <giulio.eulisse@xxxxxxx> writes: > If I have a simple class > > class A {} > > and a function > > void f_A(void){...} > > pyste's set_wrapper(A.f,"f_A") should, IMHO, generate > > class_< A >("A", init< >()) > .def(init< const A & >()) > .def("f", &f_A) > ; > even if A::f() is not present. Is there a reason why it doesn't? Maybe because that couldn't work. Have you tried to compile and use the wrapping code above from python? -- Dave Abrahams Boost Consulting www.boost-consulting.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: accessing the python type system: 00289, David Abrahams |
|---|---|
| Next by Date: | Re: wrong semantics in boost/python/cast.hpp?: 00289, David Abrahams |
| Previous by Thread: | set_wrapperi: 00289, Giulio Eulisse |
| Next by Thread: | Re: set_wrapper: 00289, Nicodemus |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |