|
|
Re: set_wrapper: msg#00319
python.c++
Giulio Eulisse wrote:
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?
Yeah, I agree add_method would be better too. I probably will implement
it in a couple of days, is that good enough for you?
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)?
I always run all tests before commiting any code... could you post an
example that doesn't work? I can add it to the test suite then, it would
help a lot.
Regards,
Nicodemus.
|
|