|
set_wrapper: msg#00281python.c++
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? Thanks in advance, Giulio |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: using BOOST_PYTHON_STATIC_LIB: 00281, Rene Rivera |
|---|---|
| Next by Date: | accessing the python type system: 00281, Stefan Seefeld |
| Previous by Thread: | how to obtain a (python) object's __name__ special attributei: 00281, Stefan Seefeld |
| Next by Thread: | Re: set_wrapper: 00281, David Abrahams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |