|
Re: set_wrapper: msg#00296python.c++
> Note also that the method you are trying to add must receive as first > argument a reference or a pointer to the class, so your f_A function > should be: > > void f_A(A&); Yes, you are right, I miscopied the sample code I had, sorry. And I agree with you that a add_method function would be more self-explanatory. I tried to hack around the set_wrapper code in pyste but I still have problems, when do you plan to implement such a feature? Thanks in advance. Ciao, Giulio PS: Are you aware of the fact that the CVS HEAD, as of yesterday, of pyste is broken(at least in my case)? |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: instantiating python objects within C++: 00296, Ralf W. Grosse-Kunstleve |
|---|---|
| Next by Date: | Re: registering simple conversions from/to python: 00296, Brett Calcott |
| Previous by Thread: | Re: set_wrapperi: 00296, Nicodemus |
| Next by Thread: | Re: set_wrapper: 00296, Nicodemus |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |