[Scilab-Dev] problem with function overloading

Sylvestre Ledru sylvestre.ledru at scilab.org
Wed Mar 10 10:06:52 CET 2010


Le mardi 02 mars 2010 à 09:35 +0100, StŽéphane Mottelet a écrit :
> Hi all,
> 
> I have some difficulties to understand how overloading of functions (not 
> operators) works.
> E.g. I would like to redefine delete() for handles, which is done 
> actually with %h_delete.
> (BTW, when I look at the source i see some calls to delete with handle 
> arguments, how does
> scilab cope with apparent recursivity here ?). When I try to redifine 
> %h_delete in a
> library loaded at startup time, then the original %h_delete is still 
> used instead of the
> "new" one. How can solve this problem (I also need to redefine %h_set 
> and %h_get...)
A priori (thanks for the information Yann), it is not possible.

Could you submit a bug tagged as wishlist about this ?
http://bugzilla.scilab.org/

Thanks
Sylvestre





More information about the dev mailing list