Yves Degoyon schrieb:
this one works : the main modification is the inversion of ( float, symbol ) ---> ( symbol, float ), when i change it back, it crashes....
so, i guess you pinpointed a real bug.
Hi, maybe it's a bug but it allways was like that, as far as I remember.
My solution is to pass A_GIMME and then perform the necessary checks to see if we got floats, symbols or nothing.
Ah, and it's not only object creation, also class_addmethod() behaves the same...
Olaf