"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "config/my_ilib_gen_gateway.sci" between
sip-0.5.6.tar.gz and sip-0.12.1.tar.gz

About: SIP (Scilab Image Processing) toolbox to do imaging tasks such as filtering, blurring, edge detection, thresholding, histogram manipulation, segmentation, mathematical morphology, color image processing, etc.

my_ilib_gen_gateway.sci  (sip-0.5.6):my_ilib_gen_gateway.sci  (sip-0.12.1)
skipping to change at line 34 skipping to change at line 34
if L<> 1 then if L<> 1 then
tname = name +string(itable); tname = name +string(itable);
else else
tname = name ; tname = name ;
end end
table = tables(itable); table = tables(itable);
[mt,nt]=size(table); [mt,nt]=size(table);
if nt==2 then col= "csci"; table = [table, col(ones(mt,1))];nt = 3 ; end if nt==2 then col= "csci"; table = [table, col(ones(mt,1))];nt = 3 ; end
if nt<>3 then error('second argument has wrong size ');end if nt<>3 then error('second argument has wrong size ');end
[gate,names]=new_names(table); [gate,names]=new_names(table);
t=[ '#include <mex.h> '; t=['#include ""sip_common.h""';
'#include ""sip_common.h""'; '#include <mex.h> ';
'#ifdef SIP_HAVE_SCI_GATEWAY_H';
' #include <sci_gateway.h> ';
'#endif';
'static int direct_gateway(char *fname,void F(void)) { F();return 0;};' 'static int direct_gateway(char *fname,void F(void)) { F();return 0;};'
'SipExport extern Gatefunc ' + names(:) + ';'; 'SipExport extern Gatefunc ' + names(:) + ';';
'static GenericTable Tab[]={'; 'static GenericTable Tab[]={';
' {'+ gate(:)+','+ names(:)+',""'+table(:,1)+'""},'; ' {'+ gate(:)+','+ names(:)+',""'+table(:,1)+'""},';
'};' '};'
' ' ' '
'SipExport int C2F('+tname+')()' 'SipExport int C2F('+tname+')()'
'{' '{'
' Rhs = Max(0, Rhs);' ' Rhs = Max(0, Rhs);'
' (*(Tab[Fin-1].f))(Tab[Fin-1].name,Tab[Fin-1].F);' ' (*(Tab[Fin-1].f))(Tab[Fin-1].name,Tab[Fin-1].F);'
 End of changes. 1 change blocks. 
2 lines changed or deleted 5 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS