problem with function overloading

StŽéphane Mottelet stephane.mottelet at utc.fr
Tue Mar 2 09:35:13 CET 2010


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...)

thanks for help

S.



More information about the dev mailing list