diff options
author | jofret | 2010-06-17 10:10:04 +0000 |
---|---|---|
committer | jofret | 2010-06-17 10:10:04 +0000 |
commit | b351d686f57f85cbe923132164ce718704bcdfa2 (patch) | |
tree | 8d73b023ff49f0d20d35bd28a85095be73ac4c1c /macros/CCodeGeneration/C_GenDeclarations.sci | |
parent | 6dc276086ebb6bad8d2f4b3a13d583a04a1920f2 (diff) | |
download | scilab2c-b351d686f57f85cbe923132164ce718704bcdfa2.tar.gz scilab2c-b351d686f57f85cbe923132164ce718704bcdfa2.tar.bz2 scilab2c-b351d686f57f85cbe923132164ce718704bcdfa2.zip |
Remove SCI2Cisnum wrapping around isnum function
Diffstat (limited to 'macros/CCodeGeneration/C_GenDeclarations.sci')
-rw-r--r-- | macros/CCodeGeneration/C_GenDeclarations.sci | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/CCodeGeneration/C_GenDeclarations.sci b/macros/CCodeGeneration/C_GenDeclarations.sci index 242bafd9..936280b8 100644 --- a/macros/CCodeGeneration/C_GenDeclarations.sci +++ b/macros/CCodeGeneration/C_GenDeclarations.sci @@ -41,13 +41,13 @@ if (ArgStruct.Dimension > 0) end // #RNU_RES_B //NUT: vedi Mem_Alloc_Out per maggiori info sulla rimozione della temp nella if - // if ((ArgStruct.Scope=='Temp') | (ArgStruct.FindLike == -1) | (SCI2Cisnum(ArgStruct.Size(1))==%F) | (SCI2Cisnum(ArgStruct.Size(2))==%F)) + // if ((ArgStruct.Scope=='Temp') | (ArgStruct.FindLike == -1) | (isnum(ArgStruct.Size(1))==%F) | (isnum(ArgStruct.Size(2))==%F)) // #RNU_RES_E if (ArgStruct.Type=='g') // if (isnan(ArgStruct.Value) ) - if ((SCI2Cisnum(ArgStruct.Size(1))==%F) | (SCI2Cisnum(ArgStruct.Size(2))==%F) ) + if ((isnum(ArgStruct.Size(1))==%F) | (isnum(ArgStruct.Size(2))==%F) ) Cdeclaration(1) = Cdeclaration(1)+C_Type(ArgStruct.Type)+... - ' * '+ArgStruct.Name+';'; + ' * '+ArgStruct.Name+';'; else if ((FlagExt == 1) | (isnan(ArgStruct.Value))) Cdeclaration(1) = Cdeclaration(1)+C_Type(ArgStruct.Type)+... @@ -60,7 +60,7 @@ if (ArgStruct.Dimension > 0) Cdeclaration(2) = Cdeclaration(2)+C_Type('i')+' __'+ArgStruct.Name+'Size[2] = {'+ArgStruct.Size(1)+','+ArgStruct.Size(2)+'};'; NDeclarations = 2; elseif ((ArgStruct.FindLike == -1) | ... - (SCI2Cisnum(ArgStruct.Size(1))==%F) | (SCI2Cisnum(ArgStruct.Size(2))==%F) | ... + (isnum(ArgStruct.Size(1))==%F) | (isnum(ArgStruct.Size(2))==%F) | ... (ResizeApproach=='REALLOC_ALL_RESIZE_ALL' & ArgStruct.Type~='g')) // #RNU_RES_B //RNU sulle stringhe non ho ancora deciso se applicare la realloc. |