[Scilab-Dev] problem with function overloading

StŽéphane Mottelet stephane.mottelet at utc.fr
Wed Mar 10 10:57:35 CET 2010


Sylvestre Ledru a écrit :
> 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
>
>
>   
done.

S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20100310/72467bef/attachment.htm>


More information about the dev mailing list