From 5975188ba7090de2d9f646102ab006e1127fd6f8 Mon Sep 17 00:00:00 2001 From: ukashanoor Date: Mon, 19 Jun 2017 10:42:03 +0530 Subject: after if and for --- 2.3-1/includes/sci2clib.h | 26 +++ 2.3-1/loader.sce | 18 +- 2.3-1/macros/ASTManagement/%comment_string.bin | Bin 0 -> 780 bytes 2.3-1/macros/ASTManagement/%cste_string.bin | Bin 0 -> 3484 bytes 2.3-1/macros/ASTManagement/%equal_string.bin | Bin 0 -> 2152 bytes 2.3-1/macros/ASTManagement/%for_string.bin | Bin 0 -> 2124 bytes 2.3-1/macros/ASTManagement/%funcall_string.bin | Bin 0 -> 1748 bytes 2.3-1/macros/ASTManagement/%ifthenel_string.bin | Bin 0 -> 3784 bytes 2.3-1/macros/ASTManagement/%ifthenelse_string.bin | Bin 0 -> 3784 bytes 2.3-1/macros/ASTManagement/%operatio_string.bin | Bin 0 -> 1352 bytes 2.3-1/macros/ASTManagement/%operation_string.bin | Bin 0 -> 1352 bytes 2.3-1/macros/ASTManagement/%program_p.bin | Bin 0 -> 520 bytes 2.3-1/macros/ASTManagement/%program_string.bin | Bin 0 -> 3276 bytes 2.3-1/macros/ASTManagement/%variable_string.bin | Bin 0 -> 3648 bytes 2.3-1/macros/ASTManagement/%while_string.bin | Bin 0 -> 1972 bytes 2.3-1/macros/ASTManagement/AST2Ccode.bin | Bin 0 -> 32736 bytes 2.3-1/macros/ASTManagement/AST2Ccode.sci | 8 +- .../ASTManagement/AST_CheckCommonInOutArgs.bin | Bin 0 -> 16824 bytes 2.3-1/macros/ASTManagement/AST_CheckLastFunc.bin | Bin 0 -> 9164 bytes 2.3-1/macros/ASTManagement/AST_CheckLineLength.bin | Bin 0 -> 3296 bytes .../ASTManagement/AST_CheckPrecSpecifier.bin | Bin 0 -> 10864 bytes 2.3-1/macros/ASTManagement/AST_DisplayStack.bin | Bin 0 -> 4704 bytes .../ASTManagement/AST_ExtractNameAndScope.bin | Bin 0 -> 13184 bytes 2.3-1/macros/ASTManagement/AST_GetASTFile.bin | Bin 0 -> 7216 bytes 2.3-1/macros/ASTManagement/AST_GetFuncallPrm.bin | Bin 0 -> 6872 bytes .../macros/ASTManagement/AST_GetPrecAndLhsArg.bin | Bin 0 -> 12552 bytes 2.3-1/macros/ASTManagement/AST_HandleEOL.bin | Bin 0 -> 11704 bytes 2.3-1/macros/ASTManagement/AST_HandleEndFor.bin | Bin 0 -> 10452 bytes 2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin | Bin 0 -> 100596 bytes 2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci | 26 ++- .../macros/ASTManagement/AST_HandleEndProgram.bin | Bin 0 -> 7968 bytes 2.3-1/macros/ASTManagement/AST_HandleEndWhile.bin | Bin 0 -> 8984 bytes 2.3-1/macros/ASTManagement/AST_HandleFor.bin | Bin 0 -> 12920 bytes 2.3-1/macros/ASTManagement/AST_HandleForStatem.bin | Bin 0 -> 11348 bytes 2.3-1/macros/ASTManagement/AST_HandleHeader.bin | Bin 0 -> 39132 bytes 2.3-1/macros/ASTManagement/AST_HandleIfElse.bin | Bin 0 -> 12056 bytes 2.3-1/macros/ASTManagement/AST_HandleIfElse.sci | 6 +- 2.3-1/macros/ASTManagement/AST_HandleWhileExpr.bin | Bin 0 -> 12140 bytes .../macros/ASTManagement/AST_HandleWhileStatem.bin | Bin 0 -> 15548 bytes .../macros/ASTManagement/AST_HandleWhileStatem.sci | 60 +++--- .../macros/ASTManagement/AST_ParseEqualStruct.bin | Bin 0 -> 20312 bytes .../ASTManagement/AST_ParseFuncallStruct.bin | Bin 0 -> 15024 bytes .../ASTManagement/AST_ParseFuncallStruct.sci | 4 + .../macros/ASTManagement/AST_ParseIfExprStruct.bin | Bin 0 -> 16644 bytes .../macros/ASTManagement/AST_ParseIfExprStruct.sci | 44 +++- 2.3-1/macros/ASTManagement/AST_ParseOperStruct.bin | Bin 0 -> 16668 bytes 2.3-1/macros/ASTManagement/AST_ParseOperStruct.sci | 11 + 2.3-1/macros/ASTManagement/AST_PopASTStack.bin | Bin 0 -> 3896 bytes 2.3-1/macros/ASTManagement/AST_PushASTStack.bin | Bin 0 -> 3300 bytes 2.3-1/macros/ASTManagement/AST_ReadASTHeader.bin | Bin 0 -> 11288 bytes .../macros/ASTManagement/AST_ReadEqualRhsNames.bin | Bin 0 -> 6972 bytes 2.3-1/macros/ASTManagement/GenOutArgNames.bin | Bin 0 -> 17208 bytes 2.3-1/macros/ASTManagement/GenOutArgNames.sci | 110 ++++++---- 2.3-1/macros/ASTManagement/Operator2FunName.bin | Bin 0 -> 18584 bytes 2.3-1/macros/ASTManagement/SciFile2ASTFile.bin | Bin 0 -> 4192 bytes 2.3-1/macros/ASTManagement/_comment_string.bin | Bin 0 -> 780 bytes 2.3-1/macros/ASTManagement/_cste_string.bin | Bin 0 -> 3484 bytes 2.3-1/macros/ASTManagement/_equal_string.bin | Bin 0 -> 2152 bytes 2.3-1/macros/ASTManagement/_for_string.bin | Bin 0 -> 2124 bytes 2.3-1/macros/ASTManagement/_funcall_string.bin | Bin 0 -> 1748 bytes 2.3-1/macros/ASTManagement/_ifthenel_string.bin | Bin 0 -> 3784 bytes 2.3-1/macros/ASTManagement/_ifthenelse_string.bin | Bin 0 -> 3784 bytes 2.3-1/macros/ASTManagement/_operatio_string.bin | Bin 0 -> 1352 bytes 2.3-1/macros/ASTManagement/_operation_string.bin | Bin 0 -> 1352 bytes 2.3-1/macros/ASTManagement/_program_p.bin | Bin 0 -> 520 bytes 2.3-1/macros/ASTManagement/_program_string.bin | Bin 0 -> 3276 bytes 2.3-1/macros/ASTManagement/_variable_string.bin | Bin 0 -> 3648 bytes 2.3-1/macros/ASTManagement/_while_string.bin | Bin 0 -> 1972 bytes 2.3-1/macros/ASTManagement/lib | Bin 4861 -> 1768 bytes 2.3-1/macros/ASTManagement/objectlist2string.bin | Bin 0 -> 1384 bytes 2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin | Bin 0 -> 18232 bytes 2.3-1/macros/CCodeGeneration/C_ForExpression.bin | Bin 0 -> 32208 bytes 2.3-1/macros/CCodeGeneration/C_Funcall.bin | Bin 0 -> 73176 bytes 2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin | Bin 0 -> 22004 bytes 2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin | Bin 0 -> 7776 bytes .../CCodeGeneration/C_GenerateLaunchScript.bin | Bin 0 -> 17232 bytes .../macros/CCodeGeneration/C_GenerateMakefile.bin | Bin 0 -> 32632 bytes .../CCodeGeneration/C_GenerateMakefile_msvc.bin | Bin 0 -> 29868 bytes .../CCodeGeneration/C_GenerateSCI2CHeader.bin | Bin 0 -> 1936 bytes 2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin | Bin 0 -> 8516 bytes 2.3-1/macros/CCodeGeneration/C_IfExpression.bin | Bin 0 -> 12440 bytes 2.3-1/macros/CCodeGeneration/C_IfExpression.sci | 31 ++- 2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin | Bin 0 -> 3184 bytes 2.3-1/macros/CCodeGeneration/C_InitHeader.bin | Bin 0 -> 14140 bytes .../CCodeGeneration/C_MemAllocOutTempVars.bin | Bin 0 -> 12996 bytes 2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin | Bin 0 -> 7268 bytes 2.3-1/macros/CCodeGeneration/C_Type.bin | Bin 0 -> 6816 bytes 2.3-1/macros/CCodeGeneration/C_WhileExpression.bin | Bin 0 -> 15704 bytes 2.3-1/macros/CCodeGeneration/C_WhileExpression.sci | 28 ++- 2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin | Bin 0 -> 9348 bytes 2.3-1/macros/CCodeGeneration/GetClsFileName.bin | Bin 0 -> 14164 bytes 2.3-1/macros/CCodeGeneration/GetClsFileName.sci | 4 + .../macros/CCodeGeneration/GetSymbolDimension.bin | Bin 0 -> 8944 bytes .../CCodeGeneration/GetWhileCondVariable.bin | Bin 0 -> 10228 bytes .../macros/CCodeGeneration/JoinDeclarAndCcode.bin | Bin 0 -> 22776 bytes .../macros/CCodeGeneration/Sci2AnnotationFile.bin | Bin 0 -> 7400 bytes 2.3-1/macros/CCodeGeneration/lib | Bin 2449 -> 912 bytes 2.3-1/macros/ErrorMessages/EM_NanSize.bin | Bin 0 -> 22776 bytes 2.3-1/macros/ErrorMessages/EM_UnknownStep.bin | Bin 0 -> 18292 bytes 2.3-1/macros/ErrorMessages/EM_ZeroSize.bin | Bin 0 -> 3200 bytes 2.3-1/macros/ErrorMessages/lib | Bin 379 -> 424 bytes 2.3-1/macros/FunctionAnnotation/FA_ADD.bin | Bin 0 -> 4856 bytes 2.3-1/macros/FunctionAnnotation/FA_DIV.bin | Bin 0 -> 4904 bytes .../FunctionAnnotation/FA_GetDefaultPrecision.bin | Bin 0 -> 11384 bytes 2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.bin | Bin 0 -> 32436 bytes 2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.sci | 3 +- .../macros/FunctionAnnotation/FA_GetOutArgInfo.bin | Bin 0 -> 17648 bytes .../FunctionAnnotation/FA_GetResizeApproach.bin | Bin 0 -> 10484 bytes 2.3-1/macros/FunctionAnnotation/FA_INT.bin | Bin 0 -> 4516 bytes 2.3-1/macros/FunctionAnnotation/FA_MAX.bin | Bin 0 -> 5320 bytes 2.3-1/macros/FunctionAnnotation/FA_MIN.bin | Bin 0 -> 4524 bytes 2.3-1/macros/FunctionAnnotation/FA_MUL.bin | Bin 0 -> 4932 bytes 2.3-1/macros/FunctionAnnotation/FA_REAL.bin | Bin 0 -> 4400 bytes 2.3-1/macros/FunctionAnnotation/FA_SCHUR_SZ.bin | Bin 0 -> 4988 bytes 2.3-1/macros/FunctionAnnotation/FA_SCHUR_TP.bin | Bin 0 -> 4364 bytes 2.3-1/macros/FunctionAnnotation/FA_SUB.bin | Bin 0 -> 4916 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_1.bin | Bin 0 -> 2608 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_2.bin | Bin 0 -> 2616 bytes .../FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin | Bin 0 -> 4612 bytes .../FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin | Bin 0 -> 9196 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin | Bin 0 -> 2944 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin | Bin 0 -> 1820 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin | Bin 0 -> 1740 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin | Bin 0 -> 1820 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_DIFF.bin | Bin 0 -> 8288 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_FACTOR.bin | Bin 0 -> 1464 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin | Bin 0 -> 3448 bytes .../FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin | Bin 0 -> 4296 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_LQE.bin | Bin 0 -> 4928 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.bin | Bin 0 -> 4484 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OBSCNT.bin | Bin 0 -> 6828 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPAPEX.bin | Bin 0 -> 3224 bytes .../FunctionAnnotation/FA_SZ_OPBACKSLASH.bin | Bin 0 -> 4320 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPCC.bin | Bin 0 -> 5056 bytes .../macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin | Bin 0 -> 1960 bytes .../FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin | Bin 0 -> 2036 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin | Bin 0 -> 5712 bytes .../macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin | Bin 0 -> 2020 bytes .../macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin | Bin 0 -> 3664 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPHAT.bin | Bin 0 -> 5688 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin | Bin 0 -> 2012 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin | Bin 0 -> 2008 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin | Bin 0 -> 2008 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin | Bin 0 -> 2008 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin | Bin 0 -> 2008 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin | Bin 0 -> 2008 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin | Bin 0 -> 2008 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin | Bin 0 -> 1956 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin | Bin 0 -> 2008 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPMINUS.bin | Bin 0 -> 6704 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUS.bin | Bin 0 -> 14040 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin | Bin 0 -> 8516 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPRC.bin | Bin 0 -> 5056 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPSLASH.bin | Bin 0 -> 3600 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_OPSTAR.bin | Bin 0 -> 8228 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_PRIMES.bin | Bin 0 -> 1524 bytes .../FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin | Bin 0 -> 6932 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin | Bin 0 -> 4624 bytes .../FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin | Bin 0 -> 19788 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_SEL1.bin | Bin 0 -> 7028 bytes 2.3-1/macros/FunctionAnnotation/FA_SZ_SEL2.bin | Bin 0 -> 6920 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_C.bin | Bin 0 -> 3252 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_COMPLEX.bin | Bin 0 -> 4520 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_CVIMAGE.bin | Bin 0 -> 4172 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_D.bin | Bin 0 -> 3220 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_I.bin | Bin 0 -> 3208 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_INT16.bin | Bin 0 -> 4136 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_INT8.bin | Bin 0 -> 4124 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_MAX.bin | Bin 0 -> 5028 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_MIN_REAL.bin | Bin 0 -> 3512 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_REAL.bin | Bin 0 -> 4036 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_S.bin | Bin 0 -> 3216 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_UINT16.bin | Bin 0 -> 4144 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_UINT8.bin | Bin 0 -> 4132 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_USER.bin | Bin 0 -> 5172 bytes 2.3-1/macros/FunctionAnnotation/FA_TP_Z.bin | Bin 0 -> 3252 bytes 2.3-1/macros/FunctionAnnotation/lib | Bin 7053 -> 2148 bytes 2.3-1/macros/FunctionList/FL_ExistCFunction.bin | Bin 0 -> 12304 bytes 2.3-1/macros/FunctionList/FL_ExtractFuncList.bin | Bin 0 -> 7828 bytes 2.3-1/macros/FunctionList/FL_GetFunctionClass.bin | Bin 0 -> 6832 bytes .../macros/FunctionList/FL_InOutArgs2CFunNames.bin | Bin 0 -> 6452 bytes 2.3-1/macros/FunctionList/FL_UpdateConverted.bin | Bin 0 -> 5572 bytes 2.3-1/macros/FunctionList/FL_UpdateToBeConv.bin | Bin 0 -> 14628 bytes 2.3-1/macros/FunctionList/lib | Bin 741 -> 492 bytes 2.3-1/macros/GeneralFunctions/Array2String.bin | Bin 0 -> 4840 bytes 2.3-1/macros/GeneralFunctions/ConvertPathMat2C.bin | Bin 0 -> 9208 bytes 2.3-1/macros/GeneralFunctions/File2StringArray.bin | Bin 0 -> 5808 bytes .../GeneralFunctions/FunName2SciFileName.bin | Bin 0 -> 6964 bytes 2.3-1/macros/GeneralFunctions/IsNanSize.bin | Bin 0 -> 4344 bytes .../macros/GeneralFunctions/KeyStr2FileStrPos.bin | Bin 0 -> 10872 bytes 2.3-1/macros/GeneralFunctions/PrintStepInfo.bin | Bin 0 -> 7356 bytes 2.3-1/macros/GeneralFunctions/PrintStringInfo.bin | Bin 0 -> 8556 bytes 2.3-1/macros/GeneralFunctions/ReadStringCard.bin | Bin 0 -> 7752 bytes 2.3-1/macros/GeneralFunctions/SCI2CCreateDir.bin | Bin 0 -> 3316 bytes 2.3-1/macros/GeneralFunctions/SCI2CFindFile.bin | Bin 0 -> 4344 bytes 2.3-1/macros/GeneralFunctions/SCI2CNInArgCheck.bin | Bin 0 -> 3144 bytes .../macros/GeneralFunctions/SCI2COpenFileRead.bin | Bin 0 -> 3424 bytes .../macros/GeneralFunctions/SCI2COpenFileWrite.bin | Bin 0 -> 3476 bytes 2.3-1/macros/GeneralFunctions/SCI2CTemplate.bin | Bin 0 -> 3536 bytes 2.3-1/macros/GeneralFunctions/SCI2Ccopyfile.bin | Bin 0 -> 5712 bytes 2.3-1/macros/GeneralFunctions/SCI2Cfileexist.bin | Bin 0 -> 4212 bytes 2.3-1/macros/GeneralFunctions/SCI2Cflipud.bin | Bin 0 -> 4436 bytes 2.3-1/macros/GeneralFunctions/SCI2Cmdelete.bin | Bin 0 -> 4132 bytes 2.3-1/macros/GeneralFunctions/SCI2Cresize.bin | Bin 0 -> 3972 bytes 2.3-1/macros/GeneralFunctions/SCI2Cstring.bin | Bin 0 -> 3608 bytes 2.3-1/macros/GeneralFunctions/SCI2Cstrncmp.bin | Bin 0 -> 3684 bytes .../macros/GeneralFunctions/SCI2Cstrncmps1size.bin | Bin 0 -> 4056 bytes 2.3-1/macros/GeneralFunctions/SizeInByte.bin | Bin 0 -> 4128 bytes 2.3-1/macros/GeneralFunctions/dispina.bin | Bin 0 -> 4912 bytes 2.3-1/macros/GeneralFunctions/filenamefprintf.bin | Bin 0 -> 6576 bytes 2.3-1/macros/GeneralFunctions/float.bin | Bin 0 -> 2504 bytes 2.3-1/macros/GeneralFunctions/lib | Bin 2809 -> 1036 bytes 2.3-1/macros/GeneralFunctions/squeezestrings.bin | Bin 0 -> 3256 bytes 2.3-1/macros/Hardware/AVR/AVRADCSetup.bin | Bin 0 -> 5212 bytes 2.3-1/macros/Hardware/AVR/AVRDigitalIn.bin | Bin 0 -> 4864 bytes 2.3-1/macros/Hardware/AVR/AVRDigitalOut.bin | Bin 0 -> 5376 bytes 2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.bin | Bin 0 -> 5188 bytes 2.3-1/macros/Hardware/AVR/AVRDigitalSetup.bin | Bin 0 -> 5584 bytes 2.3-1/macros/Hardware/AVR/AVRGetTimerValue.bin | Bin 0 -> 3256 bytes 2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.bin | Bin 0 -> 3536 bytes 2.3-1/macros/Hardware/AVR/AVRPWM0Setup.bin | Bin 0 -> 8196 bytes 2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.bin | Bin 0 -> 6764 bytes 2.3-1/macros/Hardware/AVR/AVRPWM1Setup.bin | Bin 0 -> 10604 bytes 2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.bin | Bin 0 -> 3580 bytes 2.3-1/macros/Hardware/AVR/AVRPWM2Setup.bin | Bin 0 -> 8464 bytes 2.3-1/macros/Hardware/AVR/AVRReadADC.bin | Bin 0 -> 4896 bytes 2.3-1/macros/Hardware/AVR/AVRSleep.bin | Bin 0 -> 88 bytes 2.3-1/macros/Hardware/AVR/AVRTimerSetup.bin | Bin 0 -> 7880 bytes 2.3-1/macros/Hardware/AVR/AVRUARTReceive.bin | Bin 0 -> 2504 bytes 2.3-1/macros/Hardware/AVR/AVRUARTSetup.bin | Bin 0 -> 8212 bytes 2.3-1/macros/Hardware/AVR/AVRUARTTransmit.bin | Bin 0 -> 2756 bytes .../macros/Hardware/AVR/GetAVRSupportFunctions.bin | Bin 0 -> 2516 bytes 2.3-1/macros/Hardware/AVR/GetPeripheral.bin | Bin 0 -> 2364 bytes .../macros/Hardware/AVR/InsertPeripheralInList.bin | Bin 0 -> 1928 bytes 2.3-1/macros/Hardware/AVR/IsAVRSupportFunction.bin | Bin 0 -> 2712 bytes 2.3-1/macros/Hardware/AVR/lib | Bin 2265 -> 876 bytes .../Hardware/RasberryPi/GetRPISupportFunctions.bin | Bin 0 -> 4760 bytes .../Hardware/RasberryPi/IsRPISupportFunction.bin | Bin 0 -> 4292 bytes .../macros/Hardware/RasberryPi/RPI_DelayMicro.bin | Bin 0 -> 3280 bytes .../macros/Hardware/RasberryPi/RPI_DelayMilli.bin | Bin 0 -> 3596 bytes 2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin | Bin 0 -> 5264 bytes .../macros/Hardware/RasberryPi/RPI_DigitalOut.bin | Bin 0 -> 5352 bytes .../Hardware/RasberryPi/RPI_DigitalSetup.bin | Bin 0 -> 5336 bytes 2.3-1/macros/Hardware/RasberryPi/RPI_GetMicros.bin | Bin 0 -> 3568 bytes 2.3-1/macros/Hardware/RasberryPi/RPI_GetMillis.bin | Bin 0 -> 3556 bytes .../Hardware/RasberryPi/RPI_HardPWMSetClock.bin | Bin 0 -> 3488 bytes .../Hardware/RasberryPi/RPI_HardPWMSetMode.bin | Bin 0 -> 2448 bytes .../Hardware/RasberryPi/RPI_HardPWMSetRange.bin | Bin 0 -> 3340 bytes .../Hardware/RasberryPi/RPI_HardPWMWrite.bin | Bin 0 -> 4628 bytes 2.3-1/macros/Hardware/RasberryPi/RPI_PinISR.bin | Bin 0 -> 6952 bytes .../macros/Hardware/RasberryPi/RPI_SerialClose.bin | Bin 0 -> 2724 bytes .../macros/Hardware/RasberryPi/RPI_SerialFlush.bin | Bin 0 -> 3120 bytes .../Hardware/RasberryPi/RPI_SerialGetChar.bin | Bin 0 -> 3404 bytes .../Hardware/RasberryPi/RPI_SerialSendChar.bin | Bin 0 -> 3344 bytes .../Hardware/RasberryPi/RPI_SerialSendData.bin | Bin 0 -> 3344 bytes .../macros/Hardware/RasberryPi/RPI_SerialSetup.bin | Bin 0 -> 3356 bytes 2.3-1/macros/Hardware/RasberryPi/lib | Bin 2037 -> 880 bytes .../Hardware/RasberryPi/u16RPISerialDataAvail.bin | Bin 0 -> 3520 bytes .../macros/ImageProcessing/core/CV_CreateImage.bin | Bin 0 -> 3604 bytes .../macros/ImageProcessing/core/CV_GetImgSize.bin | Bin 0 -> 2764 bytes 2.3-1/macros/ImageProcessing/core/lib | Bin 293 -> 428 bytes .../ImageProcessing/highgui/CV_LoadImage.bin | Bin 0 -> 2996 bytes .../ImageProcessing/highgui/CV_SaveImage.bin | Bin 0 -> 2732 bytes .../ImageProcessing/highgui/CV_ShowImage.bin | Bin 0 -> 2592 bytes .../macros/ImageProcessing/highgui/CV_WaitKey.bin | Bin 0 -> 2528 bytes 2.3-1/macros/ImageProcessing/highgui/lib | Bin 471 -> 488 bytes .../imgproc/CV_AdaptiveThreshold.bin | Bin 0 -> 5504 bytes 2.3-1/macros/ImageProcessing/imgproc/CV_Blur.bin | Bin 0 -> 5044 bytes 2.3-1/macros/ImageProcessing/imgproc/CV_Canny.bin | Bin 0 -> 5220 bytes .../ImageProcessing/imgproc/CV_CornerHarris.bin | Bin 0 -> 6200 bytes .../macros/ImageProcessing/imgproc/CV_CvtColor.bin | Bin 0 -> 3952 bytes 2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.bin | Bin 0 -> 6936 bytes .../imgproc/CV_DistanceTransform.bin | Bin 0 -> 4012 bytes 2.3-1/macros/ImageProcessing/imgproc/CV_Erode.bin | Bin 0 -> 6880 bytes .../ImageProcessing/imgproc/CV_GaussianBlur.bin | Bin 0 -> 6004 bytes .../ImageProcessing/imgproc/CV_MedianBlur.bin | Bin 0 -> 3936 bytes .../ImageProcessing/imgproc/CV_Threshold.bin | Bin 0 -> 4052 bytes 2.3-1/macros/ImageProcessing/imgproc/lib | Bin 1145 -> 656 bytes .../Scilab-Arduino/GenerateSetupFunction.bin | Bin 0 -> 6136 bytes .../macros/Scilab-Arduino/GetArduinoFunctions.bin | Bin 0 -> 2100 bytes .../Scilab-Arduino/GetArduinoSetupFunctions.bin | Bin 0 -> 1640 bytes 2.3-1/macros/Scilab-Arduino/InsertSetupInList.bin | Bin 0 -> 8832 bytes 2.3-1/macros/Scilab-Arduino/IsArduinoFunction.bin | Bin 0 -> 2664 bytes .../Scilab-Arduino/IsArduinoSetupFunction.bin | Bin 0 -> 2712 bytes 2.3-1/macros/Scilab-Arduino/lib | Bin 759 -> 500 bytes 2.3-1/macros/SymbolTable/ST_AnalyzeScope.bin | Bin 0 -> 16792 bytes 2.3-1/macros/SymbolTable/ST_Del.bin | Bin 0 -> 4552 bytes 2.3-1/macros/SymbolTable/ST_FindPos.bin | Bin 0 -> 5104 bytes 2.3-1/macros/SymbolTable/ST_Get.bin | Bin 0 -> 8108 bytes 2.3-1/macros/SymbolTable/ST_GetInArgInfo.bin | Bin 0 -> 37384 bytes 2.3-1/macros/SymbolTable/ST_GetSymbolInfo.bin | Bin 0 -> 13320 bytes 2.3-1/macros/SymbolTable/ST_InsForCntVars.bin | Bin 0 -> 25508 bytes 2.3-1/macros/SymbolTable/ST_InsOutArg.bin | Bin 0 -> 33516 bytes 2.3-1/macros/SymbolTable/ST_Load.bin | Bin 0 -> 4288 bytes 2.3-1/macros/SymbolTable/ST_MatchSymbol.bin | Bin 0 -> 9112 bytes 2.3-1/macros/SymbolTable/ST_Save.bin | Bin 0 -> 5440 bytes 2.3-1/macros/SymbolTable/ST_Set.bin | Bin 0 -> 7048 bytes 2.3-1/macros/SymbolTable/lib | Bin 1199 -> 632 bytes .../macros/ToolInitialization/INIT_CreateDirs.bin | Bin 0 -> 8900 bytes .../ToolInitialization/INIT_FillSCI2LibCDirs.bin | Bin 0 -> 1639588 bytes .../ToolInitialization/INIT_FillSCI2LibCDirs.sci | 232 +++++++++++++++++++++ .../ToolInitialization/INIT_GenAnnFLFunctions.bin | Bin 0 -> 3460 bytes .../macros/ToolInitialization/INIT_GenFileInfo.bin | Bin 0 -> 19628 bytes .../ToolInitialization/INIT_GenLibraries.bin | Bin 0 -> 8556 bytes .../ToolInitialization/INIT_GenSharedInfo.bin | Bin 0 -> 21060 bytes .../ToolInitialization/INIT_LoadLibraries.bin | Bin 0 -> 8940 bytes .../macros/ToolInitialization/INIT_RemoveDirs.bin | Bin 0 -> 12532 bytes 2.3-1/macros/ToolInitialization/INIT_SCI2C.bin | Bin 0 -> 24416 bytes .../ToolInitialization/INIT_SharedInfoEqual.bin | Bin 0 -> 6500 bytes .../ToolInitialization/ManageNextConversion.bin | Bin 0 -> 11016 bytes .../macros/ToolInitialization/UpdateSCI2CInfo.bin | Bin 0 -> 38684 bytes 2.3-1/macros/ToolInitialization/doublecomplex.bin | Bin 0 -> 2888 bytes 2.3-1/macros/ToolInitialization/floatcomplex.bin | Bin 0 -> 2648 bytes 2.3-1/macros/ToolInitialization/lib | Bin 1543 -> 708 bytes 2.3-1/macros/cb_sci2c_gui.bin | Bin 0 -> 18548 bytes 2.3-1/macros/findDeps/Scilab2CDeps.bin | Bin 0 -> 101536 bytes 2.3-1/macros/findDeps/findDeps.bin | Bin 0 -> 5400 bytes 2.3-1/macros/findDeps/getAllHeaders.bin | Bin 0 -> 42752 bytes 2.3-1/macros/findDeps/getAllHeaders.sci | 7 + 2.3-1/macros/findDeps/getAllInterfaces.bin | Bin 0 -> 45324 bytes 2.3-1/macros/findDeps/getAllInterfaces.sci | 7 + 2.3-1/macros/findDeps/getAllLibraries.bin | Bin 0 -> 10396 bytes 2.3-1/macros/findDeps/getAllSources.bin | Bin 0 -> 251248 bytes 2.3-1/macros/findDeps/getAllSources.sci | 13 ++ 2.3-1/macros/findDeps/getArduinoFiles.bin | Bin 0 -> 2036 bytes 2.3-1/macros/findDeps/lib | Bin 679 -> 500 bytes 2.3-1/macros/getScilab2cVersion.bin | Bin 0 -> 144 bytes 2.3-1/macros/lib | Bin 649 -> 440 bytes 2.3-1/macros/runsci2c.bin | Bin 0 -> 32652 bytes 2.3-1/macros/runsci2c.sci | 4 +- 2.3-1/macros/runscicode.bin | Bin 0 -> 8240 bytes 2.3-1/macros/sci2c_gui.bin | Bin 0 -> 58664 bytes 2.3-1/macros/scilab2c.bin | Bin 0 -> 19988 bytes .../discrete_mathematics/gcd/dgcda.c | 32 +++ .../discrete_mathematics/gcd/u8gcds.c | 32 +++ 2.3-1/src/c/elementaryFunctions/includes/gcd.h | 31 +++ 2.3-1/src/c/elementaryFunctions/includes/isreal.h | 30 +++ .../src/c/elementaryFunctions/includes/nextpow2.h | 28 +++ .../src/c/elementaryFunctions/interfaces/int_gcd.h | 25 +++ .../c/elementaryFunctions/interfaces/int_isreal.h | 22 ++ .../elementaryFunctions/interfaces/int_nextpow2.h | 26 +++ 2.3-1/src/c/elementaryFunctions/isreal/disreals.c | 17 ++ 2.3-1/src/c/elementaryFunctions/isreal/sisreals.c | 17 ++ .../c/elementaryFunctions/nextpow2/dnextpow2a.c | 30 +++ 2.3-1/src/c/interpolation/includes/interp1.h | 30 +++ 2.3-1/src/c/interpolation/interfaces/int_interp1.h | 28 +++ 2.3-1/src/c/interpolation/interp1/dinterp13a.c | 75 +++++++ 2.3-1/src/c/matrixOperations/cat/ccata.c | 2 +- 2.3-1/src/c/matrixOperations/cat/zcata.c | 2 +- 2.3-1/src/c/signalProcessing/includes/dct.h | 36 ++++ 2.3-1/src/c/signalProcessing/includes/idct.h | 36 ++++ 2.3-1/src/c/signalProcessing/includes/modk.h | 28 +++ 2.3-1/src/c/signalProcessing/interfaces/int_dct.h | 32 +++ 2.3-1/src/c/signalProcessing/interfaces/int_idct.h | 26 +++ 2.3-1/src/c/signalProcessing/interfaces/int_modk.h | 18 ++ 2.3-1/src/c/signalProcessing/modk/dmodka.c | 97 +++++++++ .../src/c/signalProcessing/transforms/dct/cdcta.c | 177 ++++++++++++++++ .../src/c/signalProcessing/transforms/dct/ddcta.c | 160 ++++++++++++++ .../src/c/signalProcessing/transforms/dct/zdcta.c | 177 ++++++++++++++++ .../c/signalProcessing/transforms/idct/cidcta.c | 97 +++++++++ .../c/signalProcessing/transforms/idct/didcta.c | 83 ++++++++ .../c/signalProcessing/transforms/idct/zidcta.c | 97 +++++++++ 2.3-1/unloader.sce | 31 +-- 363 files changed, 2031 insertions(+), 133 deletions(-) create mode 100644 2.3-1/macros/ASTManagement/%comment_string.bin create mode 100644 2.3-1/macros/ASTManagement/%cste_string.bin create mode 100644 2.3-1/macros/ASTManagement/%equal_string.bin create mode 100644 2.3-1/macros/ASTManagement/%for_string.bin create mode 100644 2.3-1/macros/ASTManagement/%funcall_string.bin create mode 100644 2.3-1/macros/ASTManagement/%ifthenel_string.bin create mode 100644 2.3-1/macros/ASTManagement/%ifthenelse_string.bin create mode 100644 2.3-1/macros/ASTManagement/%operatio_string.bin create mode 100644 2.3-1/macros/ASTManagement/%operation_string.bin create mode 100644 2.3-1/macros/ASTManagement/%program_p.bin create mode 100644 2.3-1/macros/ASTManagement/%program_string.bin create mode 100644 2.3-1/macros/ASTManagement/%variable_string.bin create mode 100644 2.3-1/macros/ASTManagement/%while_string.bin create mode 100644 2.3-1/macros/ASTManagement/AST2Ccode.bin create mode 100644 2.3-1/macros/ASTManagement/AST_CheckCommonInOutArgs.bin create mode 100644 2.3-1/macros/ASTManagement/AST_CheckLastFunc.bin create mode 100644 2.3-1/macros/ASTManagement/AST_CheckLineLength.bin create mode 100644 2.3-1/macros/ASTManagement/AST_CheckPrecSpecifier.bin create mode 100644 2.3-1/macros/ASTManagement/AST_DisplayStack.bin create mode 100644 2.3-1/macros/ASTManagement/AST_ExtractNameAndScope.bin create mode 100644 2.3-1/macros/ASTManagement/AST_GetASTFile.bin create mode 100644 2.3-1/macros/ASTManagement/AST_GetFuncallPrm.bin create mode 100644 2.3-1/macros/ASTManagement/AST_GetPrecAndLhsArg.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleEOL.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleEndFor.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleEndProgram.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleEndWhile.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleFor.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleForStatem.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleHeader.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleIfElse.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleWhileExpr.bin create mode 100644 2.3-1/macros/ASTManagement/AST_HandleWhileStatem.bin create mode 100644 2.3-1/macros/ASTManagement/AST_ParseEqualStruct.bin create mode 100644 2.3-1/macros/ASTManagement/AST_ParseFuncallStruct.bin create mode 100644 2.3-1/macros/ASTManagement/AST_ParseIfExprStruct.bin create mode 100644 2.3-1/macros/ASTManagement/AST_ParseOperStruct.bin create mode 100644 2.3-1/macros/ASTManagement/AST_PopASTStack.bin create mode 100644 2.3-1/macros/ASTManagement/AST_PushASTStack.bin create mode 100644 2.3-1/macros/ASTManagement/AST_ReadASTHeader.bin create mode 100644 2.3-1/macros/ASTManagement/AST_ReadEqualRhsNames.bin create mode 100644 2.3-1/macros/ASTManagement/GenOutArgNames.bin create mode 100644 2.3-1/macros/ASTManagement/Operator2FunName.bin create mode 100644 2.3-1/macros/ASTManagement/SciFile2ASTFile.bin create mode 100644 2.3-1/macros/ASTManagement/_comment_string.bin create mode 100644 2.3-1/macros/ASTManagement/_cste_string.bin create mode 100644 2.3-1/macros/ASTManagement/_equal_string.bin create mode 100644 2.3-1/macros/ASTManagement/_for_string.bin create mode 100644 2.3-1/macros/ASTManagement/_funcall_string.bin create mode 100644 2.3-1/macros/ASTManagement/_ifthenel_string.bin create mode 100644 2.3-1/macros/ASTManagement/_ifthenelse_string.bin create mode 100644 2.3-1/macros/ASTManagement/_operatio_string.bin create mode 100644 2.3-1/macros/ASTManagement/_operation_string.bin create mode 100644 2.3-1/macros/ASTManagement/_program_p.bin create mode 100644 2.3-1/macros/ASTManagement/_program_string.bin create mode 100644 2.3-1/macros/ASTManagement/_variable_string.bin create mode 100644 2.3-1/macros/ASTManagement/_while_string.bin create mode 100644 2.3-1/macros/ASTManagement/objectlist2string.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_ForExpression.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_Funcall.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_IfExpression.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_InitHeader.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_Type.bin create mode 100644 2.3-1/macros/CCodeGeneration/C_WhileExpression.bin create mode 100644 2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin create mode 100644 2.3-1/macros/CCodeGeneration/GetClsFileName.bin create mode 100644 2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin create mode 100644 2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin create mode 100644 2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin create mode 100644 2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin create mode 100644 2.3-1/macros/ErrorMessages/EM_NanSize.bin create mode 100644 2.3-1/macros/ErrorMessages/EM_UnknownStep.bin create mode 100644 2.3-1/macros/ErrorMessages/EM_ZeroSize.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_ADD.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_DIV.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_GetResizeApproach.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_INT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_MAX.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_MIN.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_MUL.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_REAL.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SCHUR_SZ.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SCHUR_TP.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SUB.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_1.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_2.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_DIFF.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_FACTOR.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_LQE.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OBSCNT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPAPEX.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPBACKSLASH.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPCC.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPHAT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPMINUS.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUS.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPRC.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPSLASH.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_OPSTAR.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_PRIMES.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_SEL1.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_SZ_SEL2.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_C.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_COMPLEX.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_CVIMAGE.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_D.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_I.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_INT16.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_INT8.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_MAX.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_MIN_REAL.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_REAL.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_S.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_UINT16.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_UINT8.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_USER.bin create mode 100644 2.3-1/macros/FunctionAnnotation/FA_TP_Z.bin create mode 100644 2.3-1/macros/FunctionList/FL_ExistCFunction.bin create mode 100644 2.3-1/macros/FunctionList/FL_ExtractFuncList.bin create mode 100644 2.3-1/macros/FunctionList/FL_GetFunctionClass.bin create mode 100644 2.3-1/macros/FunctionList/FL_InOutArgs2CFunNames.bin create mode 100644 2.3-1/macros/FunctionList/FL_UpdateConverted.bin create mode 100644 2.3-1/macros/FunctionList/FL_UpdateToBeConv.bin create mode 100644 2.3-1/macros/GeneralFunctions/Array2String.bin create mode 100644 2.3-1/macros/GeneralFunctions/ConvertPathMat2C.bin create mode 100644 2.3-1/macros/GeneralFunctions/File2StringArray.bin create mode 100644 2.3-1/macros/GeneralFunctions/FunName2SciFileName.bin create mode 100644 2.3-1/macros/GeneralFunctions/IsNanSize.bin create mode 100644 2.3-1/macros/GeneralFunctions/KeyStr2FileStrPos.bin create mode 100644 2.3-1/macros/GeneralFunctions/PrintStepInfo.bin create mode 100644 2.3-1/macros/GeneralFunctions/PrintStringInfo.bin create mode 100644 2.3-1/macros/GeneralFunctions/ReadStringCard.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2CCreateDir.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2CFindFile.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2CNInArgCheck.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2COpenFileRead.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2COpenFileWrite.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2CTemplate.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2Ccopyfile.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2Cfileexist.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2Cflipud.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2Cmdelete.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2Cresize.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2Cstring.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2Cstrncmp.bin create mode 100644 2.3-1/macros/GeneralFunctions/SCI2Cstrncmps1size.bin create mode 100644 2.3-1/macros/GeneralFunctions/SizeInByte.bin create mode 100644 2.3-1/macros/GeneralFunctions/dispina.bin create mode 100644 2.3-1/macros/GeneralFunctions/filenamefprintf.bin create mode 100644 2.3-1/macros/GeneralFunctions/float.bin create mode 100644 2.3-1/macros/GeneralFunctions/squeezestrings.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRADCSetup.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRDigitalIn.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRDigitalOut.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRDigitalSetup.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRGetTimerValue.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRPWM0Setup.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRPWM1Setup.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRPWM2Setup.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRReadADC.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRSleep.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRTimerSetup.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRUARTReceive.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRUARTSetup.bin create mode 100644 2.3-1/macros/Hardware/AVR/AVRUARTTransmit.bin create mode 100644 2.3-1/macros/Hardware/AVR/GetAVRSupportFunctions.bin create mode 100644 2.3-1/macros/Hardware/AVR/GetPeripheral.bin create mode 100644 2.3-1/macros/Hardware/AVR/InsertPeripheralInList.bin create mode 100644 2.3-1/macros/Hardware/AVR/IsAVRSupportFunction.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/IsRPISupportFunction.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_DelayMicro.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_DelayMilli.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_DigitalOut.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_GetMicros.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_GetMillis.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_PinISR.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_SerialClose.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_SerialFlush.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendData.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/RPI_SerialSetup.bin create mode 100644 2.3-1/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin create mode 100644 2.3-1/macros/ImageProcessing/core/CV_CreateImage.bin create mode 100644 2.3-1/macros/ImageProcessing/core/CV_GetImgSize.bin create mode 100644 2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.bin create mode 100644 2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.bin create mode 100644 2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.bin create mode 100644 2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_Blur.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_Canny.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_Erode.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.bin create mode 100644 2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.bin create mode 100644 2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.bin create mode 100644 2.3-1/macros/Scilab-Arduino/GetArduinoFunctions.bin create mode 100644 2.3-1/macros/Scilab-Arduino/GetArduinoSetupFunctions.bin create mode 100644 2.3-1/macros/Scilab-Arduino/InsertSetupInList.bin create mode 100644 2.3-1/macros/Scilab-Arduino/IsArduinoFunction.bin create mode 100644 2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.bin create mode 100644 2.3-1/macros/SymbolTable/ST_AnalyzeScope.bin create mode 100644 2.3-1/macros/SymbolTable/ST_Del.bin create mode 100644 2.3-1/macros/SymbolTable/ST_FindPos.bin create mode 100644 2.3-1/macros/SymbolTable/ST_Get.bin create mode 100644 2.3-1/macros/SymbolTable/ST_GetInArgInfo.bin create mode 100644 2.3-1/macros/SymbolTable/ST_GetSymbolInfo.bin create mode 100644 2.3-1/macros/SymbolTable/ST_InsForCntVars.bin create mode 100644 2.3-1/macros/SymbolTable/ST_InsOutArg.bin create mode 100644 2.3-1/macros/SymbolTable/ST_Load.bin create mode 100644 2.3-1/macros/SymbolTable/ST_MatchSymbol.bin create mode 100644 2.3-1/macros/SymbolTable/ST_Save.bin create mode 100644 2.3-1/macros/SymbolTable/ST_Set.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_CreateDirs.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_GenAnnFLFunctions.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_GenFileInfo.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_GenLibraries.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_GenSharedInfo.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_LoadLibraries.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_RemoveDirs.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_SCI2C.bin create mode 100644 2.3-1/macros/ToolInitialization/INIT_SharedInfoEqual.bin create mode 100644 2.3-1/macros/ToolInitialization/ManageNextConversion.bin create mode 100644 2.3-1/macros/ToolInitialization/UpdateSCI2CInfo.bin create mode 100644 2.3-1/macros/ToolInitialization/doublecomplex.bin create mode 100644 2.3-1/macros/ToolInitialization/floatcomplex.bin create mode 100644 2.3-1/macros/cb_sci2c_gui.bin create mode 100644 2.3-1/macros/findDeps/Scilab2CDeps.bin create mode 100644 2.3-1/macros/findDeps/findDeps.bin create mode 100644 2.3-1/macros/findDeps/getAllHeaders.bin create mode 100644 2.3-1/macros/findDeps/getAllInterfaces.bin create mode 100644 2.3-1/macros/findDeps/getAllLibraries.bin create mode 100644 2.3-1/macros/findDeps/getAllSources.bin create mode 100644 2.3-1/macros/findDeps/getArduinoFiles.bin create mode 100644 2.3-1/macros/getScilab2cVersion.bin create mode 100644 2.3-1/macros/runsci2c.bin create mode 100644 2.3-1/macros/runscicode.bin create mode 100644 2.3-1/macros/sci2c_gui.bin create mode 100644 2.3-1/macros/scilab2c.bin create mode 100644 2.3-1/src/c/elementaryFunctions/discrete_mathematics/gcd/dgcda.c create mode 100644 2.3-1/src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcds.c create mode 100644 2.3-1/src/c/elementaryFunctions/includes/gcd.h create mode 100644 2.3-1/src/c/elementaryFunctions/includes/isreal.h create mode 100644 2.3-1/src/c/elementaryFunctions/includes/nextpow2.h create mode 100644 2.3-1/src/c/elementaryFunctions/interfaces/int_gcd.h create mode 100644 2.3-1/src/c/elementaryFunctions/interfaces/int_isreal.h create mode 100644 2.3-1/src/c/elementaryFunctions/interfaces/int_nextpow2.h create mode 100644 2.3-1/src/c/elementaryFunctions/isreal/disreals.c create mode 100644 2.3-1/src/c/elementaryFunctions/isreal/sisreals.c create mode 100644 2.3-1/src/c/elementaryFunctions/nextpow2/dnextpow2a.c create mode 100644 2.3-1/src/c/interpolation/includes/interp1.h create mode 100644 2.3-1/src/c/interpolation/interfaces/int_interp1.h create mode 100644 2.3-1/src/c/interpolation/interp1/dinterp13a.c create mode 100644 2.3-1/src/c/signalProcessing/includes/dct.h create mode 100644 2.3-1/src/c/signalProcessing/includes/idct.h create mode 100644 2.3-1/src/c/signalProcessing/includes/modk.h create mode 100644 2.3-1/src/c/signalProcessing/interfaces/int_dct.h create mode 100644 2.3-1/src/c/signalProcessing/interfaces/int_idct.h create mode 100644 2.3-1/src/c/signalProcessing/interfaces/int_modk.h create mode 100644 2.3-1/src/c/signalProcessing/modk/dmodka.c create mode 100644 2.3-1/src/c/signalProcessing/transforms/dct/cdcta.c create mode 100644 2.3-1/src/c/signalProcessing/transforms/dct/ddcta.c create mode 100644 2.3-1/src/c/signalProcessing/transforms/dct/zdcta.c create mode 100644 2.3-1/src/c/signalProcessing/transforms/idct/cidcta.c create mode 100644 2.3-1/src/c/signalProcessing/transforms/idct/didcta.c create mode 100644 2.3-1/src/c/signalProcessing/transforms/idct/zidcta.c (limited to '2.3-1') diff --git a/2.3-1/includes/sci2clib.h b/2.3-1/includes/sci2clib.h index eae03ebb..7eb0d635 100644 --- a/2.3-1/includes/sci2clib.h +++ b/2.3-1/includes/sci2clib.h @@ -65,8 +65,22 @@ extern "C" { #include "rand.h" #include "int_rand.h" +/* INTERPOLATION FUNCTIONS*/ + +/*interfacing interp1*/ +#include "interp1.h" +#include "int_interp1.h" + /* ELEMENTARY FUNCTIONS */ +#include "nextpow2.h" +#include "int_nextpow2.h" +/*interfacing gcd*/ +#include "gcd.h" +#include "int_gcd.h" +/* interfacing isreal*/ +#include "isreal.h" +#include "int_isreal.h" /* interfacing atand */ #include "atand.h" #include "int_atand.h" @@ -412,6 +426,18 @@ extern "C" { #include "norm.h" /* SIGNAL PROCESSING */ + + +#include "modk.h" +#include "int_modk.h" +/* interfacing idct */ +#include "idct.h" +#include "int_idct.h" + +/* interfacing dct */ +#include "dct.h" +#include "int_dct.h" + /* interfacing convol */ #include "conv.h" #include "conv2d.h" diff --git a/2.3-1/loader.sce b/2.3-1/loader.sce index 061021cb..92d68830 100644 --- a/2.3-1/loader.sce +++ b/2.3-1/loader.sce @@ -1,20 +1,10 @@ // This file is released under the 3-clause BSD license. See COPYING-BSD. // Generated by builder.sce: Please, do not edit this file -oldmode = mode(); mode(-1); -oldlines = lines()(2); lines(0); try - exec(get_absolute_file_path("loader.sce")+"etc/"+"scilab2c.start"); + getversion("scilab"); catch - [errmsg, tmp, nline, func] = lasterror() - msg = "%s: error on line #%d: ""%s""\n" - msg = msprintf(msg, func, nline, errmsg) - lines(oldlines) - mode(oldmode); - clear oldlines oldmode tmp nline func - error(msg); -end -lines(oldlines); -mode(oldmode); -clear oldlines oldmode; + error("Scilab 5.0 or more is required."); +end; +exec(get_absolute_file_path("loader.sce")+"etc/"+"scilab2c.start"); diff --git a/2.3-1/macros/ASTManagement/%comment_string.bin b/2.3-1/macros/ASTManagement/%comment_string.bin new file mode 100644 index 00000000..fb894945 Binary files /dev/null and b/2.3-1/macros/ASTManagement/%comment_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%cste_string.bin b/2.3-1/macros/ASTManagement/%cste_string.bin new file mode 100644 index 00000000..ba643c47 Binary files /dev/null and b/2.3-1/macros/ASTManagement/%cste_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%equal_string.bin b/2.3-1/macros/ASTManagement/%equal_string.bin new file mode 100644 index 00000000..7f88fee6 Binary files /dev/null and b/2.3-1/macros/ASTManagement/%equal_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%for_string.bin b/2.3-1/macros/ASTManagement/%for_string.bin new file mode 100644 index 00000000..c3fda16b Binary files /dev/null and b/2.3-1/macros/ASTManagement/%for_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%funcall_string.bin b/2.3-1/macros/ASTManagement/%funcall_string.bin new file mode 100644 index 00000000..8354586d Binary files /dev/null and b/2.3-1/macros/ASTManagement/%funcall_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%ifthenel_string.bin b/2.3-1/macros/ASTManagement/%ifthenel_string.bin new file mode 100644 index 00000000..1c6fa73d Binary files /dev/null and b/2.3-1/macros/ASTManagement/%ifthenel_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%ifthenelse_string.bin b/2.3-1/macros/ASTManagement/%ifthenelse_string.bin new file mode 100644 index 00000000..456ffadc Binary files /dev/null and b/2.3-1/macros/ASTManagement/%ifthenelse_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%operatio_string.bin b/2.3-1/macros/ASTManagement/%operatio_string.bin new file mode 100644 index 00000000..40abf6b2 Binary files /dev/null and b/2.3-1/macros/ASTManagement/%operatio_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%operation_string.bin b/2.3-1/macros/ASTManagement/%operation_string.bin new file mode 100644 index 00000000..dfbeec96 Binary files /dev/null and b/2.3-1/macros/ASTManagement/%operation_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%program_p.bin b/2.3-1/macros/ASTManagement/%program_p.bin new file mode 100644 index 00000000..216a38b2 Binary files /dev/null and b/2.3-1/macros/ASTManagement/%program_p.bin differ diff --git a/2.3-1/macros/ASTManagement/%program_string.bin b/2.3-1/macros/ASTManagement/%program_string.bin new file mode 100644 index 00000000..3a8fc95b Binary files /dev/null and b/2.3-1/macros/ASTManagement/%program_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%variable_string.bin b/2.3-1/macros/ASTManagement/%variable_string.bin new file mode 100644 index 00000000..f81fd6e0 Binary files /dev/null and b/2.3-1/macros/ASTManagement/%variable_string.bin differ diff --git a/2.3-1/macros/ASTManagement/%while_string.bin b/2.3-1/macros/ASTManagement/%while_string.bin new file mode 100644 index 00000000..142189c6 Binary files /dev/null and b/2.3-1/macros/ASTManagement/%while_string.bin differ diff --git a/2.3-1/macros/ASTManagement/AST2Ccode.bin b/2.3-1/macros/ASTManagement/AST2Ccode.bin new file mode 100644 index 00000000..9daefb83 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST2Ccode.bin differ diff --git a/2.3-1/macros/ASTManagement/AST2Ccode.sci b/2.3-1/macros/ASTManagement/AST2Ccode.sci index 8076d7e2..73183f79 100644 --- a/2.3-1/macros/ASTManagement/AST2Ccode.sci +++ b/2.3-1/macros/ASTManagement/AST2Ccode.sci @@ -151,17 +151,21 @@ while ~meof(fidAST) AST_PushASTStack(treeline); case 'Lhs :' then SharedInfo.Equal.Lhs = 1; // 1 means that we are inside the Lhs block of the Equal + //if SharedInfo.Equal.NOutArg > 0 [EqualInArgName,EqualInArgScope,EqualNInArg] = AST_ReadEqualRhsNames(FileInfo,SharedInfo); - + SharedInfo.Equal.NInArg = EqualNInArg; + //end + // lengthNumber = length('Number_'); // if (part(EqualInArgScope,1:lengthNumber) == 'Number_') // SharedInfo.SkipNextEqual = 1 // end - SharedInfo.Equal.NInArg = EqualNInArg; + for tmpcnt = 1:SharedInfo.Equal.NInArg SharedInfo.Equal.InArg(tmpcnt).Name = EqualInArgName(tmpcnt); SharedInfo.Equal.InArg(tmpcnt).Scope = EqualInArgScope(tmpcnt); end + //end AST_PushASTStack(treeline); // ---------------- diff --git a/2.3-1/macros/ASTManagement/AST_CheckCommonInOutArgs.bin b/2.3-1/macros/ASTManagement/AST_CheckCommonInOutArgs.bin new file mode 100644 index 00000000..5c190ba3 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_CheckCommonInOutArgs.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_CheckLastFunc.bin b/2.3-1/macros/ASTManagement/AST_CheckLastFunc.bin new file mode 100644 index 00000000..9cac2273 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_CheckLastFunc.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_CheckLineLength.bin b/2.3-1/macros/ASTManagement/AST_CheckLineLength.bin new file mode 100644 index 00000000..db486797 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_CheckLineLength.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_CheckPrecSpecifier.bin b/2.3-1/macros/ASTManagement/AST_CheckPrecSpecifier.bin new file mode 100644 index 00000000..8e50397f Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_CheckPrecSpecifier.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_DisplayStack.bin b/2.3-1/macros/ASTManagement/AST_DisplayStack.bin new file mode 100644 index 00000000..90cbcc74 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_DisplayStack.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_ExtractNameAndScope.bin b/2.3-1/macros/ASTManagement/AST_ExtractNameAndScope.bin new file mode 100644 index 00000000..1944d88b Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_ExtractNameAndScope.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_GetASTFile.bin b/2.3-1/macros/ASTManagement/AST_GetASTFile.bin new file mode 100644 index 00000000..261430e5 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_GetASTFile.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_GetFuncallPrm.bin b/2.3-1/macros/ASTManagement/AST_GetFuncallPrm.bin new file mode 100644 index 00000000..37dbe771 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_GetFuncallPrm.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_GetPrecAndLhsArg.bin b/2.3-1/macros/ASTManagement/AST_GetPrecAndLhsArg.bin new file mode 100644 index 00000000..71e44cb1 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_GetPrecAndLhsArg.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleEOL.bin b/2.3-1/macros/ASTManagement/AST_HandleEOL.bin new file mode 100644 index 00000000..3b6b3bd1 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleEOL.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleEndFor.bin b/2.3-1/macros/ASTManagement/AST_HandleEndFor.bin new file mode 100644 index 00000000..a6031b43 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleEndFor.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin new file mode 100644 index 00000000..6aab0b75 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci index 5ff7181f..4de5d893 100644 --- a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci +++ b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci @@ -73,6 +73,14 @@ global STACKDEDUG // #RNU_RES_E [ASTFunName,InArg,NInArg,OutArg,NOutArg] = AST_GetFuncallPrm(FileInfo,SharedInfo,ASTFunType); NOutArg_mod = NOutArg + if ASTFunName == 'OpLogAnd' + AST_PushASTStack('&&'); + return ; + end + if ASTFunName == 'OpLogOr' + AST_PushASTStack('||'); + return; + end if(mtlb_strcmp(part(ASTFunName,1:2),'CV') == %T) SharedInfo.OpenCVUsed = %T; end @@ -119,6 +127,9 @@ NOutArg_mod = NOutArg // --- Read the function annotations. --- // -------------------------------------- // #RNU_RES_E + if ASTFunName == '%k' + ASTFunName='modk'; + end if (ASTFunName == 'OpEqual') FunTypeAnnot = ''; @@ -132,6 +143,7 @@ NOutArg_mod = NOutArg // --- Search for Equal Lhs and precision specifier to be applied to the current function. --- // ------------------------------------------------------------------------------------------- // #RNU_RES_E + PrintStringInfo(' no of out arguments' + string(NOutArg),ReportFileName,'file','y'); [LhsArg,NLhsArg,FunPrecSpecifier,SharedInfo] = AST_GetPrecAndLhsArg(OutArg,NOutArg,ASTFunName,FunTypeAnnot,FunSizeAnnot,ASTFunType,FileInfo,SharedInfo); //NUT: questa funzione contiene troppi parametri e mi sembra disordinata. @@ -329,8 +341,13 @@ NOutArg_mod = NOutArg OutArg(1).Name = string(OutArg(1).Value); elseif ((ASTFunName == 'double') & (NInArg == 1) & (InArg(1).Dimension == 0) & (InArg(1).Scope == 'Number')) OutArg(1).Name = string(OutArg(1).Value); + //elseif ASTFunName == 'disp' else [OutArg,SharedInfo] = GenOutArgNames(ASTFunName,InArg,NInArg,OutArg,NOutArg,LhsArg,NLhsArg,FileInfo,SharedInfo); + if ( ASTFunName == 'OpLogGt' | ASTFunName == 'OpLogLt' | ASTFunName == 'OpLogLe' | ASTFunName == 'OpLogGe' | ASTFunName == 'OpLogNe' | ASTFunName == 'OpLogEq') + PrintStringInfo(' returning back due logical function',ReportFileName,'file','y'); + return; + end end if ((ASTFunName == 'uint8') & (NInArg == 1) & (InArg(1).Dimension == 0) & (InArg(1).Scope == 'Number')) @@ -374,6 +391,8 @@ NOutArg_mod = NOutArg // Scope already set above. elseif (ASTFunName == 'double' & NInArg == 1 & (InArg(1).Dimension == 0) & (InArg(1).Scope == 'Number')) // Scope already set above. + //elseif ASTFunName == 'disp' + //do nothing else OutArg = ST_AnalyzeScope(OutArg,NOutArg,FileInfo,SharedInfo); end @@ -392,6 +411,8 @@ NOutArg_mod = NOutArg //#RNUREM_ME A number is not inserted in the symbol table. elseif ((ASTFunName == 'double') & (NInArg == 1) & (InArg(1).Dimension == 0) & (InArg(1).Scope == 'Number')) //#RNUREM_ME A number is not inserted in the symbol table. + //elseif ASTFunName == 'disp' + //do nothing else ST_InsOutArg(OutArg,NOutArg,FileInfo,SharedInfo,'all'); end @@ -424,8 +445,9 @@ NOutArg_mod = NOutArg // -------------------------------------------- //#RNU_RES_E //disp(OutArg,InArg,ASTFunName) + CFunName = C_GenerateFunName(ASTFunName,InArg,NInArg,OutArg,NOutArg_mod); - + //#RNU_RES_B PrintStringInfo(' C Function Name: '+CFunName,ReportFileName,'file','y'); if(IsArduinoFunction(ASTFunName)) @@ -496,6 +518,8 @@ NOutArg_mod = NOutArg SharedInfo.SkipNextFun > 0 | ... ((sum(mtlb_strcmp(ASTFunName,SharedInfo.Annotations.DataPrec)) > 0) & (SharedInfo.SkipNextPrec == 1))) // Do nothing + //elseif ASTFunName == 'disp' + // Do nothing else AST_CheckCommonInOutArgs(InArg,NInArg,OutArg,NOutArg,ReportFileName); end diff --git a/2.3-1/macros/ASTManagement/AST_HandleEndProgram.bin b/2.3-1/macros/ASTManagement/AST_HandleEndProgram.bin new file mode 100644 index 00000000..5e02fdcd Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleEndProgram.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleEndWhile.bin b/2.3-1/macros/ASTManagement/AST_HandleEndWhile.bin new file mode 100644 index 00000000..bafccbc2 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleEndWhile.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleFor.bin b/2.3-1/macros/ASTManagement/AST_HandleFor.bin new file mode 100644 index 00000000..27d44a12 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleFor.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleForStatem.bin b/2.3-1/macros/ASTManagement/AST_HandleForStatem.bin new file mode 100644 index 00000000..4839b049 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleForStatem.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleHeader.bin b/2.3-1/macros/ASTManagement/AST_HandleHeader.bin new file mode 100644 index 00000000..87ef763a Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleHeader.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleIfElse.bin b/2.3-1/macros/ASTManagement/AST_HandleIfElse.bin new file mode 100644 index 00000000..d30e47b4 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleIfElse.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleIfElse.sci b/2.3-1/macros/ASTManagement/AST_HandleIfElse.sci index 5373adf6..2b549ed6 100644 --- a/2.3-1/macros/ASTManagement/AST_HandleIfElse.sci +++ b/2.3-1/macros/ASTManagement/AST_HandleIfElse.sci @@ -74,11 +74,13 @@ global STACKDEDUG // --------------------------------------------------- //#RNU_RES_E if (ASTIfExpType~='else') - [IfCondArg,NIfCondArg] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType); + [IfCondArg,NIfCondArg,Op,NOp] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType); else // "else" type doesn't contain any condition to test. IfCondArg = ''; NIfCondArg = 0; + Op = ''; + NOp = 0; end //#RNU_RES_B @@ -87,6 +89,6 @@ end // ----------------------------- // --- Generate the C code for if/elseif Expression. --- //#RNU_RES_E -SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo,SharedInfo); +SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,Op,NOp,ASTIfExpType,FileInfo,SharedInfo); endfunction diff --git a/2.3-1/macros/ASTManagement/AST_HandleWhileExpr.bin b/2.3-1/macros/ASTManagement/AST_HandleWhileExpr.bin new file mode 100644 index 00000000..5f3da2de Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleWhileExpr.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleWhileStatem.bin b/2.3-1/macros/ASTManagement/AST_HandleWhileStatem.bin new file mode 100644 index 00000000..4f7704ea Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_HandleWhileStatem.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_HandleWhileStatem.sci b/2.3-1/macros/ASTManagement/AST_HandleWhileStatem.sci index 79fb516d..d8c2f73c 100644 --- a/2.3-1/macros/ASTManagement/AST_HandleWhileStatem.sci +++ b/2.3-1/macros/ASTManagement/AST_HandleWhileStatem.sci @@ -36,6 +36,8 @@ global SCI2CSTACK global StackPosition; global STACKDEDUG +IfCondArg = []; +NIfCondArg = 0; // ------------------------------ // --- Check input arguments. --- @@ -70,36 +72,40 @@ PrintStringInfo(' Redirecting C code to: '+FileInfo.Funct(nxtscifunnumber).CPa // --- Generate C code. --- // ------------------------ //#RNU_RES_E -if(SharedInfo.WhileExpr.CondVar == '') - //#RNU_RES_B - // It means that we are handling something like while(a) or while(1) - // The while condition variable is generated by the HandleEndGenFun. - //#RNU_RES_E - - // --- Pop the name of the condition variable or number. --- - Pop1 = AST_PopASTStack(); - - [ArgName,ArgScope] = AST_ExtractNameAndScope(Pop1); - if (length(ArgName) == 0) - PrintStringInfo(' ',ReportFileName,'both','y'); - PrintStringInfo('SCI2CERROR: Expected while(variable) or while(number).','','stdout','y'); - PrintStringInfo('SCI2CERROR: Expected a variable or number in the AST while expression.','','stdout','y'); - PrintStringInfo('SCI2CERROR: Report this error to http://forge.scilab.org/index.php/p/scilab2c/issues/.','','stdout','y'); - PrintStringInfo(' ',ReportFileName,'both','y'); - error(9999, 'Expected a conditional variable in the while expression'); +flagendpop = 0; +IfExprField = AST_PopASTStack(); + +NOp=0; +Op=[]; +while (flagendpop == 0) + if (IfExprField~='') + if (IfExprField=='WhileExpression:') + flagendpop = 1; + // Pop Again the If tag from the AST. + IfExprField = AST_PopASTStack(); + elseif (IfExprField=='Operands:') + flagendpop = 0; + g = AST_PopASTStack(); + else + if (IfExprField=='&&' | IfExprField=='||') + NOp = NOp + 1; + Op(NOp) = IfExprField; + //PrintStringInfo('operators are '+Op(NOp),ReportFileName,'file','y'); + else + NIfCondArg = NIfCondArg + 1; + IfCondArg(NIfCondArg) = IfExprField; + end + //[IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); + //[IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); + end end + IfExprField = AST_PopASTStack(); + PrintStringInfo('operators are '+IfExprField,ReportFileName,'file','y'); +end - SharedInfo.WhileExpr.CondVar = ArgName; - //#RNU_RES_B - // --- Repush strings into the AST stack. --- - //#RNU_RES_E - - AST_PushASTStack(Pop1); +IfCondArg = SCI2Cflipud(IfCondArg); -elseif (SharedInfo.WhileExpr.DimCondVar > 0) - error(9999, 'Cannot manage while with matrix conditions'); -end -SharedInfo = C_WhileExpression(FileInfo,SharedInfo); +SharedInfo = C_WhileExpression(IfCondArg,NIfCondArg,Op,NOp,FileInfo,SharedInfo); // -------------------------- // --- Update SharedInfo. --- diff --git a/2.3-1/macros/ASTManagement/AST_ParseEqualStruct.bin b/2.3-1/macros/ASTManagement/AST_ParseEqualStruct.bin new file mode 100644 index 00000000..459c62e8 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_ParseEqualStruct.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_ParseFuncallStruct.bin b/2.3-1/macros/ASTManagement/AST_ParseFuncallStruct.bin new file mode 100644 index 00000000..1cbeb5c0 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_ParseFuncallStruct.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_ParseFuncallStruct.sci b/2.3-1/macros/ASTManagement/AST_ParseFuncallStruct.sci index 647a70d7..3c322dd5 100644 --- a/2.3-1/macros/ASTManagement/AST_ParseFuncallStruct.sci +++ b/2.3-1/macros/ASTManagement/AST_ParseFuncallStruct.sci @@ -87,6 +87,10 @@ NOutArg = eval(stripblanks(part(buffstring,10:length(buffstring)))); buffstring = AST_PopASTStack(); FunctionName = stripblanks(part(buffstring,12:length(buffstring))); +//if (FunctionName == 'disp') + // NOutArg = 0; +//end + // ------------------------------------- // --- Generate the InArg structure. --- // ------------------------------------- diff --git a/2.3-1/macros/ASTManagement/AST_ParseIfExprStruct.bin b/2.3-1/macros/ASTManagement/AST_ParseIfExprStruct.bin new file mode 100644 index 00000000..19ea5fe9 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_ParseIfExprStruct.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_ParseIfExprStruct.sci b/2.3-1/macros/ASTManagement/AST_ParseIfExprStruct.sci index a7da0128..3ed1b5b6 100644 --- a/2.3-1/macros/ASTManagement/AST_ParseIfExprStruct.sci +++ b/2.3-1/macros/ASTManagement/AST_ParseIfExprStruct.sci @@ -1,4 +1,4 @@ -function [IfCondArg,NIfCondArg] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType) +function [IfCondArg,NIfCondArg,Op,NOp] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType) // function [IfCondArg,NIfCondArg] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType) // ----------------------------------------------------------------- //#RNU_RES_B @@ -63,13 +63,26 @@ global STACKDEDUG // ------------------------------------ // --- Read if condition variables. --- // ------------------------------------ +//OutArgOld=[]; +//OutArgNew=[]; + +//for i = 1:3 + // OutArgOld(i)=AST_PopASTStack(); + //PrintStringInfo(' '+OutArgOld(i),ReportFileName,'file','y'); +//end +//x = AST_PopASTStack(); + +//OutArgNew = SCI2Cflipud(OutArgOld); + flagendpop = 0; IfExprField = AST_PopASTStack(); +PrintStringInfo(' '+IfExprField+' '+ASTIfExpType,ReportFileName,'file','y'); if (ASTIfExpType=='if') if (IfExprField=='Expression:') flagendpop = 1; // Pop Again the If tag from the AST. IfExprField = AST_PopASTStack(); + PrintStringInfo(' '+IfExprField,ReportFileName,'file','y'); end elseif (ASTIfExpType=='elseif') if (IfExprField=='Else If Expression') @@ -78,7 +91,8 @@ elseif (ASTIfExpType=='elseif') else error(9999, 'Unknown ASTIfExpType ""'+ASTIfExpType+'"".'); end - +NOp=0; +Op=[]; while (flagendpop == 0) if (IfExprField~='') if (ASTIfExpType=='if') @@ -86,23 +100,41 @@ while (flagendpop == 0) flagendpop = 1; // Pop Again the If tag from the AST. IfExprField = AST_PopASTStack(); + elseif (IfExprField=='Operands:') + flagendpop = 0; + g = AST_PopASTStack(); else + if (IfExprField=='&&' | IfExprField=='||') + NOp = NOp + 1; + Op(NOp) = IfExprField; + //PrintStringInfo('operators are '+Op(NOp),ReportFileName,'file','y'); + else NIfCondArg = NIfCondArg + 1; - [IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); + IfCondArg(NIfCondArg) = IfExprField; + end + //[IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); end elseif (ASTIfExpType=='elseif') if (IfExprField=='Else If Expression') flagendpop = 1; else - NIfCondArg = NIfCondArg + 1; - IfCondArg(NIfCondArg) = IfExprField; - [IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); + if (IfExprField=='&&') + NOp = NOp + 1; + Op(NOp) = IfExprField; + else + NIfCondArg = NIfCondArg + 1; + IfCondArg(NIfCondArg) = IfExprField; + end + //[IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); end end end IfExprField = AST_PopASTStack(); + PrintStringInfo('operators are '+IfExprField,ReportFileName,'file','y'); end +IfCondArg = SCI2Cflipud(IfCondArg); + //#RNU_RES_B // ------------------------------------------- // --- Print some info in the report file. --- diff --git a/2.3-1/macros/ASTManagement/AST_ParseOperStruct.bin b/2.3-1/macros/ASTManagement/AST_ParseOperStruct.bin new file mode 100644 index 00000000..e189cbc9 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_ParseOperStruct.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_ParseOperStruct.sci b/2.3-1/macros/ASTManagement/AST_ParseOperStruct.sci index a77317bd..903f0958 100644 --- a/2.3-1/macros/ASTManagement/AST_ParseOperStruct.sci +++ b/2.3-1/macros/ASTManagement/AST_ParseOperStruct.sci @@ -61,6 +61,17 @@ LabelFunctName = 'Operator: '; FunctionName = stripblanks(part(buffstring,length(LabelFunctName)+1:length(buffstring))); // Generate the proper function name. FunctionName = Operator2FunName(FunctionName); +PrintStringInfo(' '+FunctionName,ReportFileName,'file','y'); + +if (FunctionName == 'OpLogAnd' | FunctionName=='OpLogOr') + NInArg = 0; + NOutArg = 0; + InArg=[]; + //RhsField = AST_PopASTStack(); + //PrintStringInfo('hello'+RhsField,ReportFileName,'file','y'); + //RhsField = AST_PopASTStack(); + return ; +end // ------------------------------ // --- Read input parameters. --- diff --git a/2.3-1/macros/ASTManagement/AST_PopASTStack.bin b/2.3-1/macros/ASTManagement/AST_PopASTStack.bin new file mode 100644 index 00000000..f9b85d34 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_PopASTStack.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_PushASTStack.bin b/2.3-1/macros/ASTManagement/AST_PushASTStack.bin new file mode 100644 index 00000000..8fcd563c Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_PushASTStack.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_ReadASTHeader.bin b/2.3-1/macros/ASTManagement/AST_ReadASTHeader.bin new file mode 100644 index 00000000..614231c4 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_ReadASTHeader.bin differ diff --git a/2.3-1/macros/ASTManagement/AST_ReadEqualRhsNames.bin b/2.3-1/macros/ASTManagement/AST_ReadEqualRhsNames.bin new file mode 100644 index 00000000..a131c498 Binary files /dev/null and b/2.3-1/macros/ASTManagement/AST_ReadEqualRhsNames.bin differ diff --git a/2.3-1/macros/ASTManagement/GenOutArgNames.bin b/2.3-1/macros/ASTManagement/GenOutArgNames.bin new file mode 100644 index 00000000..2ebce86c Binary files /dev/null and b/2.3-1/macros/ASTManagement/GenOutArgNames.bin differ diff --git a/2.3-1/macros/ASTManagement/GenOutArgNames.sci b/2.3-1/macros/ASTManagement/GenOutArgNames.sci index 0e683835..7b62c794 100644 --- a/2.3-1/macros/ASTManagement/GenOutArgNames.sci +++ b/2.3-1/macros/ASTManagement/GenOutArgNames.sci @@ -32,6 +32,12 @@ SCI2CNInArgCheck(argn(2),9,9); nxtscifunname = SharedInfo.NextSCIFunName; nxtscifunnumber = SharedInfo.NextSCIFunNumber; ReportFileName = FileInfo.Funct(nxtscifunnumber).ReportFileName; + + +global SCI2CSTACK +global StackPosition; +global STACKDEDUG + // #RNU_RES_B PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y'); // #RNU_RES_E @@ -43,47 +49,69 @@ OutArg = OldOutArg; // --------------------------------------------------------------------------------------- // At this step only the name of the output arguments can be generated. --- //#RNU_RES_E -if (NLhsArg > 0) - //#RNU_RES_B - // Use the equal Lhs names. - PrintStringInfo('Using Equal Lhs names.',ReportFileName,'file','y'); - //#RNU_RES_E - if (NLhsArg ~= NOutArg) - error(9999, 'NLhsArg='+string(NLhsArg)+' must be equal to NOutArg='+string(NOutArg)+'.'); - end - for counteroutputargs = 1:NOutArg - OutArg(counteroutputargs).Name=LhsArg(counteroutputargs).Name; - OutArg(counteroutputargs).Scope=LhsArg(counteroutputargs).Scope; - end +if (FunctionName ~= 'OpLogGt' & FunctionName ~= 'OpLogLt' & FunctionName ~= 'OpLogGe' & FunctionName ~= 'OpLogLe' & FunctionName ~= 'OpLogNe' & FunctionName ~= 'OpLogEq') + if (NLhsArg > 0) + //#RNU_RES_B + // Use the equal Lhs names. + PrintStringInfo('Using Equal Lhs names.',ReportFileName,'file','y'); + //#RNU_RES_E + if (NLhsArg ~= NOutArg) + error(9999, 'NLhsArg='+string(NLhsArg)+' must be equal to NOutArg='+string(NOutArg)+'.'); + end + for counteroutputargs = 1:NOutArg + OutArg(counteroutputargs).Name=LhsArg(counteroutputargs).Name; + OutArg(counteroutputargs).Scope=LhsArg(counteroutputargs).Scope; + end + else + //#RNU_RES_B + // Generate temporary variables. + PrintStringInfo('Generating temporary variables.',ReportFileName,'file','y'); + //#RNU_RES_E + if ((sum(mtlb_strcmp(FunctionName,SharedInfo.Annotations.DataPrec)) > 0) & ... + (SharedInfo.SkipNextPrec == 1)) + //#RNU_RES_B + PrintStringInfo(' Skipping code generating because already generated in the previous function.',ReportFileName,'file','y'); + //#RNU_RES_E + for counteroutputargs = 1:NOutArg + OutArg(counteroutputargs).Name = InArg(counteroutputargs).Name; + end + elseif (mtlb_strcmp(FunctionName,'OpEqual')) + // do nothing. + //NUT: verifica questa parte di codice. e' sicuro che se ho equal gli oldoutarg contengono gia' il nome? + else + for counteroutputargs = 1:NOutArg + if ((SharedInfo.ASTReader.EnableTempVarsReuse == 1) & ... + (length(SharedInfo.ASTReader.ReusableTempVars) > 0)) + TmpOutArgName = strcat([SharedInfo.ASTReader.TempVarsName,string(SharedInfo.ASTReader.ReusableTempVars(1))]); + SharedInfo.ASTReader.ReusableTempVars = SharedInfo.ASTReader.ReusableTempVars(2:$); + else + SharedInfo.ASTReader.UsedTempVars = SharedInfo.ASTReader.UsedTempVars + 1; + TmpOutArgName = strcat([SharedInfo.ASTReader.TempVarsName,string(SharedInfo.ASTReader.UsedTempVars)]); + end + OutArg(counteroutputargs).Name=TmpOutArgName; + end + end + end else - //#RNU_RES_B - // Generate temporary variables. - PrintStringInfo('Generating temporary variables.',ReportFileName,'file','y'); - //#RNU_RES_E - if ((sum(mtlb_strcmp(FunctionName,SharedInfo.Annotations.DataPrec)) > 0) & ... - (SharedInfo.SkipNextPrec == 1)) - //#RNU_RES_B - PrintStringInfo(' Skipping code generating because already generated in the previous function.',ReportFileName,'file','y'); - //#RNU_RES_E - for counteroutputargs = 1:NOutArg - OutArg(counteroutputargs).Name = InArg(counteroutputargs).Name; - end - elseif (mtlb_strcmp(FunctionName,'OpEqual')) - // do nothing. - //NUT: verifica questa parte di codice. e' sicuro che se ho equal gli oldoutarg contengono gia' il nome? - else - for counteroutputargs = 1:NOutArg - if ((SharedInfo.ASTReader.EnableTempVarsReuse == 1) & ... - (length(SharedInfo.ASTReader.ReusableTempVars) > 0)) - TmpOutArgName = strcat([SharedInfo.ASTReader.TempVarsName,string(SharedInfo.ASTReader.ReusableTempVars(1))]); - SharedInfo.ASTReader.ReusableTempVars = SharedInfo.ASTReader.ReusableTempVars(2:$); - else - SharedInfo.ASTReader.UsedTempVars = SharedInfo.ASTReader.UsedTempVars + 1; - TmpOutArgName = strcat([SharedInfo.ASTReader.TempVarsName,string(SharedInfo.ASTReader.UsedTempVars)]); - end - OutArg(counteroutputargs).Name=TmpOutArgName; - end - end + for counterinputargs = 1:NInArg + tmppushstack=InArg(counterinputargs).Name; + PrintStringInfo(' Pushing in the AST stack: ""'+tmppushstack+'"".',ReportFileName,'file','y'); + AST_PushASTStack(tmppushstack); + if FunctionName=='OpLogGt' + AST_PushASTStack('>'); + elseif FunctionName=='OpLogGe' + AST_PushASTStack('>='); + elseif FunctionName=='OpLogLt' + AST_PushASTStack('<'); + elseif FunctionName=='OpLogLe' + AST_PushASTStack('<='); + elseif FunctionName=='OpLogEq' + AST_PushASTStack('=='); + elseif FunctionName=='OpLogNe' + AST_PushASTStack('!='); + end + end + s = AST_PopASTStack(); + PrintStringInfo(' Pushing in the AST stack: ""'+s+'"".',ReportFileName,'file','y'); end - endfunction diff --git a/2.3-1/macros/ASTManagement/Operator2FunName.bin b/2.3-1/macros/ASTManagement/Operator2FunName.bin new file mode 100644 index 00000000..884c99bc Binary files /dev/null and b/2.3-1/macros/ASTManagement/Operator2FunName.bin differ diff --git a/2.3-1/macros/ASTManagement/SciFile2ASTFile.bin b/2.3-1/macros/ASTManagement/SciFile2ASTFile.bin new file mode 100644 index 00000000..be8bc0d5 Binary files /dev/null and b/2.3-1/macros/ASTManagement/SciFile2ASTFile.bin differ diff --git a/2.3-1/macros/ASTManagement/_comment_string.bin b/2.3-1/macros/ASTManagement/_comment_string.bin new file mode 100644 index 00000000..fb894945 Binary files /dev/null and b/2.3-1/macros/ASTManagement/_comment_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_cste_string.bin b/2.3-1/macros/ASTManagement/_cste_string.bin new file mode 100644 index 00000000..ba643c47 Binary files /dev/null and b/2.3-1/macros/ASTManagement/_cste_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_equal_string.bin b/2.3-1/macros/ASTManagement/_equal_string.bin new file mode 100644 index 00000000..7f88fee6 Binary files /dev/null and b/2.3-1/macros/ASTManagement/_equal_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_for_string.bin b/2.3-1/macros/ASTManagement/_for_string.bin new file mode 100644 index 00000000..c3fda16b Binary files /dev/null and b/2.3-1/macros/ASTManagement/_for_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_funcall_string.bin b/2.3-1/macros/ASTManagement/_funcall_string.bin new file mode 100644 index 00000000..8354586d Binary files /dev/null and b/2.3-1/macros/ASTManagement/_funcall_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_ifthenel_string.bin b/2.3-1/macros/ASTManagement/_ifthenel_string.bin new file mode 100644 index 00000000..1c6fa73d Binary files /dev/null and b/2.3-1/macros/ASTManagement/_ifthenel_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_ifthenelse_string.bin b/2.3-1/macros/ASTManagement/_ifthenelse_string.bin new file mode 100644 index 00000000..456ffadc Binary files /dev/null and b/2.3-1/macros/ASTManagement/_ifthenelse_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_operatio_string.bin b/2.3-1/macros/ASTManagement/_operatio_string.bin new file mode 100644 index 00000000..40abf6b2 Binary files /dev/null and b/2.3-1/macros/ASTManagement/_operatio_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_operation_string.bin b/2.3-1/macros/ASTManagement/_operation_string.bin new file mode 100644 index 00000000..dfbeec96 Binary files /dev/null and b/2.3-1/macros/ASTManagement/_operation_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_program_p.bin b/2.3-1/macros/ASTManagement/_program_p.bin new file mode 100644 index 00000000..216a38b2 Binary files /dev/null and b/2.3-1/macros/ASTManagement/_program_p.bin differ diff --git a/2.3-1/macros/ASTManagement/_program_string.bin b/2.3-1/macros/ASTManagement/_program_string.bin new file mode 100644 index 00000000..3a8fc95b Binary files /dev/null and b/2.3-1/macros/ASTManagement/_program_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_variable_string.bin b/2.3-1/macros/ASTManagement/_variable_string.bin new file mode 100644 index 00000000..f81fd6e0 Binary files /dev/null and b/2.3-1/macros/ASTManagement/_variable_string.bin differ diff --git a/2.3-1/macros/ASTManagement/_while_string.bin b/2.3-1/macros/ASTManagement/_while_string.bin new file mode 100644 index 00000000..142189c6 Binary files /dev/null and b/2.3-1/macros/ASTManagement/_while_string.bin differ diff --git a/2.3-1/macros/ASTManagement/lib b/2.3-1/macros/ASTManagement/lib index 67ea09be..42ffc2a7 100644 Binary files a/2.3-1/macros/ASTManagement/lib and b/2.3-1/macros/ASTManagement/lib differ diff --git a/2.3-1/macros/ASTManagement/objectlist2string.bin b/2.3-1/macros/ASTManagement/objectlist2string.bin new file mode 100644 index 00000000..96159f22 Binary files /dev/null and b/2.3-1/macros/ASTManagement/objectlist2string.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin b/2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin new file mode 100644 index 00000000..b4005914 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_ForExpression.bin b/2.3-1/macros/CCodeGeneration/C_ForExpression.bin new file mode 100644 index 00000000..1c3f6747 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_ForExpression.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_Funcall.bin b/2.3-1/macros/CCodeGeneration/C_Funcall.bin new file mode 100644 index 00000000..80fda7c4 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_Funcall.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin b/2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin new file mode 100644 index 00000000..c3b36009 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin b/2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin new file mode 100644 index 00000000..1b723f16 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin b/2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin new file mode 100644 index 00000000..587c1547 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin new file mode 100644 index 00000000..cea86411 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin new file mode 100644 index 00000000..838c674e Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin b/2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin new file mode 100644 index 00000000..2e02cae4 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin b/2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin new file mode 100644 index 00000000..332e89bf Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_IfExpression.bin b/2.3-1/macros/CCodeGeneration/C_IfExpression.bin new file mode 100644 index 00000000..b1dc7370 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_IfExpression.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_IfExpression.sci b/2.3-1/macros/CCodeGeneration/C_IfExpression.sci index 48a05383..c723d95a 100644 --- a/2.3-1/macros/CCodeGeneration/C_IfExpression.sci +++ b/2.3-1/macros/CCodeGeneration/C_IfExpression.sci @@ -1,4 +1,4 @@ -function SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo,SharedInfo) +function SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,Op,NOp,ASTIfExpType,FileInfo,SharedInfo) // function SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo,SharedInfo) // ----------------------------------------------------------------- // //NUT: add description here @@ -19,12 +19,16 @@ function SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo, // ------------------------------ // --- Check input arguments. --- // ------------------------------ -SCI2CNInArgCheck(argn(2),5,5); +//SCI2CNInArgCheck(argn(4),7,7); + +//global SCI2CSTACK +//global StackPosition; +//global STACKDEDUG // --- Check NIfCondArg value. --- -if ((NIfCondArg ~= 1) & (ASTIfExpType~='else')) - error(9999, 'Cannot manage ""if/elseif"" with a number of condition variables not equal to 1.'); -end +//if ((NIfCondArg ~= 1) & (ASTIfExpType~='else')) + // error(9999, 'Cannot manage ""if/elseif"" with a number of condition variables not equal to 1.'); +//end // ----------------------- // --- Initialization. --- @@ -37,7 +41,7 @@ CPass1FileName = FileInfo.Funct(nxtscifunnumber).CPass1FileName; // #RNU_RES_B PrintStringInfo(' ',ReportFileName,'file','y'); -PrintStringInfo('***Generating C code***',ReportFileName,'file','y'); +PrintStringInfo('***Generating C code***'+ string(NIfCondArg),ReportFileName,'file','y'); // #RNU_RES_E // --------------------------- // --- End Initialization. --- @@ -66,10 +70,23 @@ if SCI2Cstrncmps1size(ASTIfExpType,'else') SharedInfo = C_IfElseBlocks(FileInfo,SharedInfo,'out'); end +i=1; +k=1; CCall =''; CCall = CCall+CFunName; if (ASTIfExpType~='else') - CCall = CCall+'('+IfCondArg(1)+')'; + CCall = CCall+'('; + while i <= NIfCondArg + CCall = CCall + IfCondArg(i) + ' '; + //d = modulo(i,3); + //PrintStringInfo(' '+string(i)+string(d),'file','y'); + if (modulo(i,3)==0 & i<>NIfCondArg) + CCall = CCall + Op(k) + ' '; + k = k + 1; + end + i = i + 1; + end + CCall = CCall+')'; end PrintStringInfo(' '+CCall,ReportFileName,'file','y'); PrintStringInfo(C_IndentBlanks(SharedInfo.NIndent)+CCall,CPass1FileName,'file','y'); diff --git a/2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin b/2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin new file mode 100644 index 00000000..77bfaebc Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_InitHeader.bin b/2.3-1/macros/CCodeGeneration/C_InitHeader.bin new file mode 100644 index 00000000..567822c0 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_InitHeader.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin b/2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin new file mode 100644 index 00000000..443ad3c1 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin b/2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin new file mode 100644 index 00000000..1d3e6182 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_Type.bin b/2.3-1/macros/CCodeGeneration/C_Type.bin new file mode 100644 index 00000000..7b5bf444 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_Type.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_WhileExpression.bin b/2.3-1/macros/CCodeGeneration/C_WhileExpression.bin new file mode 100644 index 00000000..5e426505 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/C_WhileExpression.bin differ diff --git a/2.3-1/macros/CCodeGeneration/C_WhileExpression.sci b/2.3-1/macros/CCodeGeneration/C_WhileExpression.sci index edd2830e..d7cf70ec 100644 --- a/2.3-1/macros/CCodeGeneration/C_WhileExpression.sci +++ b/2.3-1/macros/CCodeGeneration/C_WhileExpression.sci @@ -1,4 +1,4 @@ -function SharedInfo = C_WhileExpression(FileInfo,SharedInfo) +function SharedInfo = C_WhileExpression(IfCondArg,NIfCondArg,Op,NOp,FileInfo,SharedInfo) // function SharedInfo = C_WhileExpression(FileInfo,SharedInfo) // ----------------------------------------------------------------- // //NUT: add description here @@ -19,7 +19,7 @@ function SharedInfo = C_WhileExpression(FileInfo,SharedInfo) // ------------------------------ // --- Check input arguments. --- // ------------------------------ -SCI2CNInArgCheck(argn(2),2,2); +//SCI2CNInArgCheck(argn(2),2,2); // ----------------------- // --- Initialization. --- @@ -63,7 +63,7 @@ for cntstr = 1:NumCStrings // Epilogue if (length(C_Strings(cntstr)) == 0) C_Strings(cntstr) = ' '; // RNU for Bruno: If I don't do that I get a PrintStringInfo error related to mputstr. - // Function not defined for given argument type(s), + // Function not defined for given argument type(s), // check arguments or define function %0_mputstr for overloading. end PrintStringInfo(C_Strings(cntstr),CPass1WhileEpilFileName ,'file','y','n'); @@ -76,7 +76,27 @@ PrintStringInfo('}',CPass1WhileEpilFileName ,'file','y'); // ------------------------------ // --- Insert for expression. --- // ------------------------------ -CCall = 'while('+SharedInfo.WhileExpr.CondVar+')'; +//CCall = 'while('+SharedInfo.WhileExpr.CondVar+')'; +//PrintStringInfo(C_IndentBlanks(SharedInfo.NIndent)+CCall,CPass1FileName,'file','y'); + +i=1; +k=1; +CCall =''; +CCall = CCall+'while'; + CCall = CCall+'('; + while i <= NIfCondArg + CCall = CCall + IfCondArg(i) + ' '; + //d = modulo(i,3); + //PrintStringInfo(' '+string(i)+string(d),'file','y'); + if (modulo(i,3)==0 & i<>NIfCondArg) + CCall = CCall + Op(k) + ' '; + k = k + 1; + end + i = i + 1; + end + CCall = CCall+')'; + +PrintStringInfo(' '+CCall,ReportFileName,'file','y'); PrintStringInfo(C_IndentBlanks(SharedInfo.NIndent)+CCall,CPass1FileName,'file','y'); // ------------------- diff --git a/2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin b/2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin new file mode 100644 index 00000000..6a374f5b Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin differ diff --git a/2.3-1/macros/CCodeGeneration/GetClsFileName.bin b/2.3-1/macros/CCodeGeneration/GetClsFileName.bin new file mode 100644 index 00000000..dda02933 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/GetClsFileName.bin differ diff --git a/2.3-1/macros/CCodeGeneration/GetClsFileName.sci b/2.3-1/macros/CCodeGeneration/GetClsFileName.sci index 46f08201..d92a431c 100644 --- a/2.3-1/macros/CCodeGeneration/GetClsFileName.sci +++ b/2.3-1/macros/CCodeGeneration/GetClsFileName.sci @@ -45,6 +45,7 @@ if SCI2Cfileexist(FileInfo.USER2CLibCAnnFun,tmpannfilename) // #RNU_RES_B // It is a C function of the USER2C library. // #RNU_RES_E + PrintStringInfo('cUser2c',ReportFileName,'file','y'); FlagFoundAnnFile = 1; AnnFileName = fullfile(FileInfo.USER2CLibCAnnFun,tmpannfilename); SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName); @@ -53,6 +54,7 @@ elseif SCI2Cfileexist(FileInfo.USER2CLibSCIAnnFun,tmpannfilename) // #RNU_RES_B // It is a scilab function of the USER2C library. // #RNU_RES_E + PrintStringInfo('fUser2c',ReportFileName,'file','y'); FlagFoundAnnFile = 1; AnnFileName = fullfile(FileInfo.USER2CLibSCIAnnFun,tmpannfilename); SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName); @@ -61,6 +63,7 @@ elseif (SCI2Cfileexist(FileInfo.SCI2CLibCAnnFun,tmpannfilename)) // #RNU_RES_B // It is a C function of the SCI2C library. // #RNU_RES_E + PrintStringInfo('csci2c',ReportFileName,'file','y'); FlagFoundAnnFile = 1; AnnFileName = fullfile(FileInfo.SCI2CLibCAnnFun,tmpannfilename); SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName); @@ -69,6 +72,7 @@ elseif (SCI2Cfileexist(FileInfo.SCI2CLibSCIAnnFun,tmpannfilename)) // #RNU_RES_B // It is a scilab function of the SCI2C library. // #RNU_RES_E + PrintStringInfo('fsci2c',ReportFileName,'file','y'); FlagFoundAnnFile = 1; AnnFileName = fullfile(FileInfo.SCI2CLibSCIAnnFun,tmpannfilename); SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName); diff --git a/2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin b/2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin new file mode 100644 index 00000000..5c73f435 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin differ diff --git a/2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin b/2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin new file mode 100644 index 00000000..6815fb4b Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin differ diff --git a/2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin b/2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin new file mode 100644 index 00000000..084ab085 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin differ diff --git a/2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin b/2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin new file mode 100644 index 00000000..95fe5611 Binary files /dev/null and b/2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin differ diff --git a/2.3-1/macros/CCodeGeneration/lib b/2.3-1/macros/CCodeGeneration/lib index 2db4b8c8..b62a6c72 100644 Binary files a/2.3-1/macros/CCodeGeneration/lib and b/2.3-1/macros/CCodeGeneration/lib differ diff --git a/2.3-1/macros/ErrorMessages/EM_NanSize.bin b/2.3-1/macros/ErrorMessages/EM_NanSize.bin new file mode 100644 index 00000000..d0ad584b Binary files /dev/null and b/2.3-1/macros/ErrorMessages/EM_NanSize.bin differ diff --git a/2.3-1/macros/ErrorMessages/EM_UnknownStep.bin b/2.3-1/macros/ErrorMessages/EM_UnknownStep.bin new file mode 100644 index 00000000..57a2b4d7 Binary files /dev/null and b/2.3-1/macros/ErrorMessages/EM_UnknownStep.bin differ diff --git a/2.3-1/macros/ErrorMessages/EM_ZeroSize.bin b/2.3-1/macros/ErrorMessages/EM_ZeroSize.bin new file mode 100644 index 00000000..f8d2830f Binary files /dev/null and b/2.3-1/macros/ErrorMessages/EM_ZeroSize.bin differ diff --git a/2.3-1/macros/ErrorMessages/lib b/2.3-1/macros/ErrorMessages/lib index 0a9f8913..dc2a3386 100644 Binary files a/2.3-1/macros/ErrorMessages/lib and b/2.3-1/macros/ErrorMessages/lib differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_ADD.bin b/2.3-1/macros/FunctionAnnotation/FA_ADD.bin new file mode 100644 index 00000000..6c810828 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_ADD.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_DIV.bin b/2.3-1/macros/FunctionAnnotation/FA_DIV.bin new file mode 100644 index 00000000..6e6708fe Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_DIV.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.bin b/2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.bin new file mode 100644 index 00000000..fa48e833 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_GetDefaultPrecision.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.bin b/2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.bin new file mode 100644 index 00000000..ff29181c Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.sci b/2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.sci index d11e3cee..3fadd1f2 100644 --- a/2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.sci +++ b/2.3-1/macros/FunctionAnnotation/FA_GetFunAnn.sci @@ -52,7 +52,7 @@ FunSizeAnnot = ''; // --------------------------------------------- // --- Open the .sci file (read only). --- inclsfid = SCI2COpenFileRead(SCI2CClassFileName); - +PrintStringInfo(' '+string(inclsfid),ReportFileName,'file','y'); // #RNU_RES_B // --- Loop over the lines of the input file. --- // Position file pointer to the desired NInArg/NOutArg section, @@ -212,5 +212,6 @@ mclose(inclsfid); // ------------------------------------------------- // --- End Read the annotations of the function. --- // ------------------------------------------------- +PrintStringInfo(' end of annotation '+string(NOutArg_mod),ReportFileName,'file','y'); endfunction diff --git a/2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.bin b/2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.bin new file mode 100644 index 00000000..89c0d1d3 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_GetResizeApproach.bin b/2.3-1/macros/FunctionAnnotation/FA_GetResizeApproach.bin new file mode 100644 index 00000000..77397e01 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_GetResizeApproach.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_INT.bin b/2.3-1/macros/FunctionAnnotation/FA_INT.bin new file mode 100644 index 00000000..edf9bb84 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_INT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_MAX.bin b/2.3-1/macros/FunctionAnnotation/FA_MAX.bin new file mode 100644 index 00000000..a9debbab Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_MAX.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_MIN.bin b/2.3-1/macros/FunctionAnnotation/FA_MIN.bin new file mode 100644 index 00000000..cc9bd02e Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_MIN.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_MUL.bin b/2.3-1/macros/FunctionAnnotation/FA_MUL.bin new file mode 100644 index 00000000..8b674c21 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_MUL.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_REAL.bin b/2.3-1/macros/FunctionAnnotation/FA_REAL.bin new file mode 100644 index 00000000..ed68eb74 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_REAL.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SCHUR_SZ.bin b/2.3-1/macros/FunctionAnnotation/FA_SCHUR_SZ.bin new file mode 100644 index 00000000..292a6193 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SCHUR_SZ.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SCHUR_TP.bin b/2.3-1/macros/FunctionAnnotation/FA_SCHUR_TP.bin new file mode 100644 index 00000000..4b0b438f Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SCHUR_TP.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SUB.bin b/2.3-1/macros/FunctionAnnotation/FA_SUB.bin new file mode 100644 index 00000000..fdc52b4d Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SUB.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_1.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_1.bin new file mode 100644 index 00000000..c01ff59d Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_1.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_2.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_2.bin new file mode 100644 index 00000000..00834df4 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_2.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin new file mode 100644 index 00000000..a3b34afc Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin new file mode 100644 index 00000000..76748237 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin new file mode 100644 index 00000000..879c5885 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin new file mode 100644 index 00000000..af9d1cb8 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin new file mode 100644 index 00000000..ddabb108 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin new file mode 100644 index 00000000..be386e03 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_DIFF.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_DIFF.bin new file mode 100644 index 00000000..08d66c13 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_DIFF.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_FACTOR.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_FACTOR.bin new file mode 100644 index 00000000..ee8f8991 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_FACTOR.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin new file mode 100644 index 00000000..a06f3b16 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin new file mode 100644 index 00000000..60cb9d4e Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_LQE.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_LQE.bin new file mode 100644 index 00000000..8abfa39b Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_LQE.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.bin new file mode 100644 index 00000000..843fb2ce Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OBSCNT.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OBSCNT.bin new file mode 100644 index 00000000..b936e29c Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OBSCNT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPAPEX.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPAPEX.bin new file mode 100644 index 00000000..90e50348 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPAPEX.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPBACKSLASH.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPBACKSLASH.bin new file mode 100644 index 00000000..be3e89ac Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPBACKSLASH.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPCC.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPCC.bin new file mode 100644 index 00000000..767385a3 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPCC.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin new file mode 100644 index 00000000..822cb5e8 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin new file mode 100644 index 00000000..2af7e390 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin new file mode 100644 index 00000000..72d6e23d Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin new file mode 100644 index 00000000..f060e87e Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin new file mode 100644 index 00000000..6be9a457 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPHAT.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPHAT.bin new file mode 100644 index 00000000..feb8122d Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPHAT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin new file mode 100644 index 00000000..e4419128 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin new file mode 100644 index 00000000..afe431b3 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin new file mode 100644 index 00000000..87d2d5bf Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin new file mode 100644 index 00000000..c3a1d88c Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin new file mode 100644 index 00000000..80216050 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin new file mode 100644 index 00000000..417fe265 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin new file mode 100644 index 00000000..6c9f9bf0 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin new file mode 100644 index 00000000..417a9195 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin new file mode 100644 index 00000000..af6c2a8e Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPMINUS.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPMINUS.bin new file mode 100644 index 00000000..deac97df Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPMINUS.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUS.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUS.bin new file mode 100644 index 00000000..da84349d Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUS.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin new file mode 100644 index 00000000..b45ac592 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPRC.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPRC.bin new file mode 100644 index 00000000..6d55e274 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPRC.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPSLASH.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPSLASH.bin new file mode 100644 index 00000000..14bb17f9 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPSLASH.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_OPSTAR.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPSTAR.bin new file mode 100644 index 00000000..2f28cb62 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_OPSTAR.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_PRIMES.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_PRIMES.bin new file mode 100644 index 00000000..353edab7 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_PRIMES.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin new file mode 100644 index 00000000..3b0c0b78 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin new file mode 100644 index 00000000..f5f1a236 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin new file mode 100644 index 00000000..e5d8e650 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_SEL1.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_SEL1.bin new file mode 100644 index 00000000..1d68a2e6 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_SEL1.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_SEL2.bin b/2.3-1/macros/FunctionAnnotation/FA_SZ_SEL2.bin new file mode 100644 index 00000000..d3897f7d Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_SZ_SEL2.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_C.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_C.bin new file mode 100644 index 00000000..d13d92ca Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_C.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_COMPLEX.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_COMPLEX.bin new file mode 100644 index 00000000..3400b2af Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_COMPLEX.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_CVIMAGE.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_CVIMAGE.bin new file mode 100644 index 00000000..a7327099 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_CVIMAGE.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_D.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_D.bin new file mode 100644 index 00000000..12293dab Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_D.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_I.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_I.bin new file mode 100644 index 00000000..503be40b Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_I.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_INT16.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_INT16.bin new file mode 100644 index 00000000..fba4305a Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_INT16.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_INT8.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_INT8.bin new file mode 100644 index 00000000..f67d7485 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_INT8.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_MAX.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_MAX.bin new file mode 100644 index 00000000..099ea1ba Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_MAX.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_MIN_REAL.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_MIN_REAL.bin new file mode 100644 index 00000000..60293a1d Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_MIN_REAL.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_REAL.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_REAL.bin new file mode 100644 index 00000000..7e54122a Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_REAL.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_S.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_S.bin new file mode 100644 index 00000000..1419e461 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_S.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_UINT16.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_UINT16.bin new file mode 100644 index 00000000..dc455ca6 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_UINT16.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_UINT8.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_UINT8.bin new file mode 100644 index 00000000..508db417 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_UINT8.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_USER.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_USER.bin new file mode 100644 index 00000000..87e18d54 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_USER.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/FA_TP_Z.bin b/2.3-1/macros/FunctionAnnotation/FA_TP_Z.bin new file mode 100644 index 00000000..6c371723 Binary files /dev/null and b/2.3-1/macros/FunctionAnnotation/FA_TP_Z.bin differ diff --git a/2.3-1/macros/FunctionAnnotation/lib b/2.3-1/macros/FunctionAnnotation/lib index f02997b0..600d25dc 100644 Binary files a/2.3-1/macros/FunctionAnnotation/lib and b/2.3-1/macros/FunctionAnnotation/lib differ diff --git a/2.3-1/macros/FunctionList/FL_ExistCFunction.bin b/2.3-1/macros/FunctionList/FL_ExistCFunction.bin new file mode 100644 index 00000000..1c85aa21 Binary files /dev/null and b/2.3-1/macros/FunctionList/FL_ExistCFunction.bin differ diff --git a/2.3-1/macros/FunctionList/FL_ExtractFuncList.bin b/2.3-1/macros/FunctionList/FL_ExtractFuncList.bin new file mode 100644 index 00000000..ec74708d Binary files /dev/null and b/2.3-1/macros/FunctionList/FL_ExtractFuncList.bin differ diff --git a/2.3-1/macros/FunctionList/FL_GetFunctionClass.bin b/2.3-1/macros/FunctionList/FL_GetFunctionClass.bin new file mode 100644 index 00000000..faa210e6 Binary files /dev/null and b/2.3-1/macros/FunctionList/FL_GetFunctionClass.bin differ diff --git a/2.3-1/macros/FunctionList/FL_InOutArgs2CFunNames.bin b/2.3-1/macros/FunctionList/FL_InOutArgs2CFunNames.bin new file mode 100644 index 00000000..09d5eb5e Binary files /dev/null and b/2.3-1/macros/FunctionList/FL_InOutArgs2CFunNames.bin differ diff --git a/2.3-1/macros/FunctionList/FL_UpdateConverted.bin b/2.3-1/macros/FunctionList/FL_UpdateConverted.bin new file mode 100644 index 00000000..73f2cf02 Binary files /dev/null and b/2.3-1/macros/FunctionList/FL_UpdateConverted.bin differ diff --git a/2.3-1/macros/FunctionList/FL_UpdateToBeConv.bin b/2.3-1/macros/FunctionList/FL_UpdateToBeConv.bin new file mode 100644 index 00000000..44b5803f Binary files /dev/null and b/2.3-1/macros/FunctionList/FL_UpdateToBeConv.bin differ diff --git a/2.3-1/macros/FunctionList/lib b/2.3-1/macros/FunctionList/lib index 2bbf0cbe..30a44eee 100644 Binary files a/2.3-1/macros/FunctionList/lib and b/2.3-1/macros/FunctionList/lib differ diff --git a/2.3-1/macros/GeneralFunctions/Array2String.bin b/2.3-1/macros/GeneralFunctions/Array2String.bin new file mode 100644 index 00000000..c40274de Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/Array2String.bin differ diff --git a/2.3-1/macros/GeneralFunctions/ConvertPathMat2C.bin b/2.3-1/macros/GeneralFunctions/ConvertPathMat2C.bin new file mode 100644 index 00000000..7dd14227 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/ConvertPathMat2C.bin differ diff --git a/2.3-1/macros/GeneralFunctions/File2StringArray.bin b/2.3-1/macros/GeneralFunctions/File2StringArray.bin new file mode 100644 index 00000000..1b050f4e Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/File2StringArray.bin differ diff --git a/2.3-1/macros/GeneralFunctions/FunName2SciFileName.bin b/2.3-1/macros/GeneralFunctions/FunName2SciFileName.bin new file mode 100644 index 00000000..c3cb5387 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/FunName2SciFileName.bin differ diff --git a/2.3-1/macros/GeneralFunctions/IsNanSize.bin b/2.3-1/macros/GeneralFunctions/IsNanSize.bin new file mode 100644 index 00000000..71735125 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/IsNanSize.bin differ diff --git a/2.3-1/macros/GeneralFunctions/KeyStr2FileStrPos.bin b/2.3-1/macros/GeneralFunctions/KeyStr2FileStrPos.bin new file mode 100644 index 00000000..5c6cfaff Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/KeyStr2FileStrPos.bin differ diff --git a/2.3-1/macros/GeneralFunctions/PrintStepInfo.bin b/2.3-1/macros/GeneralFunctions/PrintStepInfo.bin new file mode 100644 index 00000000..98208f8f Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/PrintStepInfo.bin differ diff --git a/2.3-1/macros/GeneralFunctions/PrintStringInfo.bin b/2.3-1/macros/GeneralFunctions/PrintStringInfo.bin new file mode 100644 index 00000000..c936b207 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/PrintStringInfo.bin differ diff --git a/2.3-1/macros/GeneralFunctions/ReadStringCard.bin b/2.3-1/macros/GeneralFunctions/ReadStringCard.bin new file mode 100644 index 00000000..f9b28283 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/ReadStringCard.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2CCreateDir.bin b/2.3-1/macros/GeneralFunctions/SCI2CCreateDir.bin new file mode 100644 index 00000000..007b6fb8 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2CCreateDir.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2CFindFile.bin b/2.3-1/macros/GeneralFunctions/SCI2CFindFile.bin new file mode 100644 index 00000000..fe8e783d Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2CFindFile.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2CNInArgCheck.bin b/2.3-1/macros/GeneralFunctions/SCI2CNInArgCheck.bin new file mode 100644 index 00000000..8d96b6e9 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2CNInArgCheck.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2COpenFileRead.bin b/2.3-1/macros/GeneralFunctions/SCI2COpenFileRead.bin new file mode 100644 index 00000000..f3f6a5e3 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2COpenFileRead.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2COpenFileWrite.bin b/2.3-1/macros/GeneralFunctions/SCI2COpenFileWrite.bin new file mode 100644 index 00000000..0287b3aa Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2COpenFileWrite.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2CTemplate.bin b/2.3-1/macros/GeneralFunctions/SCI2CTemplate.bin new file mode 100644 index 00000000..c485b457 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2CTemplate.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2Ccopyfile.bin b/2.3-1/macros/GeneralFunctions/SCI2Ccopyfile.bin new file mode 100644 index 00000000..e6d0a866 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2Ccopyfile.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2Cfileexist.bin b/2.3-1/macros/GeneralFunctions/SCI2Cfileexist.bin new file mode 100644 index 00000000..524c8c42 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2Cfileexist.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2Cflipud.bin b/2.3-1/macros/GeneralFunctions/SCI2Cflipud.bin new file mode 100644 index 00000000..baf71bb9 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2Cflipud.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2Cmdelete.bin b/2.3-1/macros/GeneralFunctions/SCI2Cmdelete.bin new file mode 100644 index 00000000..67694b7f Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2Cmdelete.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2Cresize.bin b/2.3-1/macros/GeneralFunctions/SCI2Cresize.bin new file mode 100644 index 00000000..a909d306 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2Cresize.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2Cstring.bin b/2.3-1/macros/GeneralFunctions/SCI2Cstring.bin new file mode 100644 index 00000000..887482bb Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2Cstring.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2Cstrncmp.bin b/2.3-1/macros/GeneralFunctions/SCI2Cstrncmp.bin new file mode 100644 index 00000000..78ce9a1a Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2Cstrncmp.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SCI2Cstrncmps1size.bin b/2.3-1/macros/GeneralFunctions/SCI2Cstrncmps1size.bin new file mode 100644 index 00000000..e9a45d96 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SCI2Cstrncmps1size.bin differ diff --git a/2.3-1/macros/GeneralFunctions/SizeInByte.bin b/2.3-1/macros/GeneralFunctions/SizeInByte.bin new file mode 100644 index 00000000..04c7a752 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/SizeInByte.bin differ diff --git a/2.3-1/macros/GeneralFunctions/dispina.bin b/2.3-1/macros/GeneralFunctions/dispina.bin new file mode 100644 index 00000000..25d03faf Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/dispina.bin differ diff --git a/2.3-1/macros/GeneralFunctions/filenamefprintf.bin b/2.3-1/macros/GeneralFunctions/filenamefprintf.bin new file mode 100644 index 00000000..864a494d Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/filenamefprintf.bin differ diff --git a/2.3-1/macros/GeneralFunctions/float.bin b/2.3-1/macros/GeneralFunctions/float.bin new file mode 100644 index 00000000..fd0c449e Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/float.bin differ diff --git a/2.3-1/macros/GeneralFunctions/lib b/2.3-1/macros/GeneralFunctions/lib index e1d6f0fb..30d87791 100644 Binary files a/2.3-1/macros/GeneralFunctions/lib and b/2.3-1/macros/GeneralFunctions/lib differ diff --git a/2.3-1/macros/GeneralFunctions/squeezestrings.bin b/2.3-1/macros/GeneralFunctions/squeezestrings.bin new file mode 100644 index 00000000..11b97ec9 Binary files /dev/null and b/2.3-1/macros/GeneralFunctions/squeezestrings.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRADCSetup.bin b/2.3-1/macros/Hardware/AVR/AVRADCSetup.bin new file mode 100644 index 00000000..a1cbcf3c Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRADCSetup.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalIn.bin b/2.3-1/macros/Hardware/AVR/AVRDigitalIn.bin new file mode 100644 index 00000000..0fdfab82 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRDigitalIn.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalOut.bin b/2.3-1/macros/Hardware/AVR/AVRDigitalOut.bin new file mode 100644 index 00000000..7e56e466 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRDigitalOut.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.bin b/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.bin new file mode 100644 index 00000000..cf96fbb1 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRDigitalPortSetup.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.bin b/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.bin new file mode 100644 index 00000000..dec6eb2a Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRDigitalSetup.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.bin b/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.bin new file mode 100644 index 00000000..1b883131 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRGetTimerValue.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.bin b/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.bin new file mode 100644 index 00000000..1518222d Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRPWM0SetDuty.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.bin b/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.bin new file mode 100644 index 00000000..08867048 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRPWM0Setup.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.bin b/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.bin new file mode 100644 index 00000000..79e4ab62 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRPWM1SetDuty.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.bin b/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.bin new file mode 100644 index 00000000..235cdba2 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRPWM1Setup.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.bin b/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.bin new file mode 100644 index 00000000..a1c7f3b2 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRPWM2SetDuty.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.bin b/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.bin new file mode 100644 index 00000000..66996c08 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRPWM2Setup.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRReadADC.bin b/2.3-1/macros/Hardware/AVR/AVRReadADC.bin new file mode 100644 index 00000000..25b45a83 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRReadADC.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRSleep.bin b/2.3-1/macros/Hardware/AVR/AVRSleep.bin new file mode 100644 index 00000000..e4b10d83 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRSleep.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRTimerSetup.bin b/2.3-1/macros/Hardware/AVR/AVRTimerSetup.bin new file mode 100644 index 00000000..775d718a Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRTimerSetup.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRUARTReceive.bin b/2.3-1/macros/Hardware/AVR/AVRUARTReceive.bin new file mode 100644 index 00000000..013036e3 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRUARTReceive.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRUARTSetup.bin b/2.3-1/macros/Hardware/AVR/AVRUARTSetup.bin new file mode 100644 index 00000000..82ec2911 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRUARTSetup.bin differ diff --git a/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.bin b/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.bin new file mode 100644 index 00000000..9e53d9a6 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/AVRUARTTransmit.bin differ diff --git a/2.3-1/macros/Hardware/AVR/GetAVRSupportFunctions.bin b/2.3-1/macros/Hardware/AVR/GetAVRSupportFunctions.bin new file mode 100644 index 00000000..48ab5cd8 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/GetAVRSupportFunctions.bin differ diff --git a/2.3-1/macros/Hardware/AVR/GetPeripheral.bin b/2.3-1/macros/Hardware/AVR/GetPeripheral.bin new file mode 100644 index 00000000..b496bbb0 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/GetPeripheral.bin differ diff --git a/2.3-1/macros/Hardware/AVR/InsertPeripheralInList.bin b/2.3-1/macros/Hardware/AVR/InsertPeripheralInList.bin new file mode 100644 index 00000000..c49f4e04 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/InsertPeripheralInList.bin differ diff --git a/2.3-1/macros/Hardware/AVR/IsAVRSupportFunction.bin b/2.3-1/macros/Hardware/AVR/IsAVRSupportFunction.bin new file mode 100644 index 00000000..e2382308 Binary files /dev/null and b/2.3-1/macros/Hardware/AVR/IsAVRSupportFunction.bin differ diff --git a/2.3-1/macros/Hardware/AVR/lib b/2.3-1/macros/Hardware/AVR/lib index 5c8f0da2..2b6d33d4 100644 Binary files a/2.3-1/macros/Hardware/AVR/lib and b/2.3-1/macros/Hardware/AVR/lib differ diff --git a/2.3-1/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin b/2.3-1/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin new file mode 100644 index 00000000..a70999c0 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/IsRPISupportFunction.bin b/2.3-1/macros/Hardware/RasberryPi/IsRPISupportFunction.bin new file mode 100644 index 00000000..11533d3e Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/IsRPISupportFunction.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMicro.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMicro.bin new file mode 100644 index 00000000..a4d32cb6 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMicro.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMilli.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMilli.bin new file mode 100644 index 00000000..b6eeb30b Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_DelayMilli.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin new file mode 100644 index 00000000..f4c16f39 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalIn.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalOut.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalOut.bin new file mode 100644 index 00000000..b7ad06e5 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalOut.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin new file mode 100644 index 00000000..1ac5b582 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_GetMicros.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_GetMicros.bin new file mode 100644 index 00000000..3e6c08fa Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_GetMicros.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_GetMillis.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_GetMillis.bin new file mode 100644 index 00000000..b9143650 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_GetMillis.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin new file mode 100644 index 00000000..1efe0803 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin new file mode 100644 index 00000000..075d6e60 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin new file mode 100644 index 00000000..8ded2709 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin new file mode 100644 index 00000000..9957f3a4 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_PinISR.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_PinISR.bin new file mode 100644 index 00000000..ddeff684 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_PinISR.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialClose.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialClose.bin new file mode 100644 index 00000000..dce972dc Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialClose.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialFlush.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialFlush.bin new file mode 100644 index 00000000..2a3704d0 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialFlush.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin new file mode 100644 index 00000000..928f28a3 Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin new file mode 100644 index 00000000..7614ebcb Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendData.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendData.bin new file mode 100644 index 00000000..a3524a6c Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSendData.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSetup.bin b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSetup.bin new file mode 100644 index 00000000..0128c27b Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/RPI_SerialSetup.bin differ diff --git a/2.3-1/macros/Hardware/RasberryPi/lib b/2.3-1/macros/Hardware/RasberryPi/lib index 9afd77da..c15f8e8b 100644 Binary files a/2.3-1/macros/Hardware/RasberryPi/lib and b/2.3-1/macros/Hardware/RasberryPi/lib differ diff --git a/2.3-1/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin b/2.3-1/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin new file mode 100644 index 00000000..3789bd6c Binary files /dev/null and b/2.3-1/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin differ diff --git a/2.3-1/macros/ImageProcessing/core/CV_CreateImage.bin b/2.3-1/macros/ImageProcessing/core/CV_CreateImage.bin new file mode 100644 index 00000000..d5aa3080 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/core/CV_CreateImage.bin differ diff --git a/2.3-1/macros/ImageProcessing/core/CV_GetImgSize.bin b/2.3-1/macros/ImageProcessing/core/CV_GetImgSize.bin new file mode 100644 index 00000000..ede60e6f Binary files /dev/null and b/2.3-1/macros/ImageProcessing/core/CV_GetImgSize.bin differ diff --git a/2.3-1/macros/ImageProcessing/core/lib b/2.3-1/macros/ImageProcessing/core/lib index 56053510..5ea86603 100644 Binary files a/2.3-1/macros/ImageProcessing/core/lib and b/2.3-1/macros/ImageProcessing/core/lib differ diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.bin b/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.bin new file mode 100644 index 00000000..f8e13375 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/highgui/CV_LoadImage.bin differ diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.bin b/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.bin new file mode 100644 index 00000000..8d056bf1 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/highgui/CV_SaveImage.bin differ diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.bin b/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.bin new file mode 100644 index 00000000..c4e00fc7 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/highgui/CV_ShowImage.bin differ diff --git a/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.bin b/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.bin new file mode 100644 index 00000000..30a42f41 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/highgui/CV_WaitKey.bin differ diff --git a/2.3-1/macros/ImageProcessing/highgui/lib b/2.3-1/macros/ImageProcessing/highgui/lib index a46d5d87..b43eb00d 100644 Binary files a/2.3-1/macros/ImageProcessing/highgui/lib and b/2.3-1/macros/ImageProcessing/highgui/lib differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin new file mode 100644 index 00000000..26a58c0c Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.bin new file mode 100644 index 00000000..9fc1af49 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_Blur.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.bin new file mode 100644 index 00000000..df824781 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_Canny.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.bin new file mode 100644 index 00000000..291d3e4d Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_CornerHarris.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.bin new file mode 100644 index 00000000..eee1018f Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_CvtColor.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.bin new file mode 100644 index 00000000..3f2d2d99 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_Dilate.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin new file mode 100644 index 00000000..0955b5f0 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.bin new file mode 100644 index 00000000..33d42312 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_Erode.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin new file mode 100644 index 00000000..b1766626 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.bin new file mode 100644 index 00000000..fdcd23ed Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_MedianBlur.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.bin b/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.bin new file mode 100644 index 00000000..c2ce1c60 Binary files /dev/null and b/2.3-1/macros/ImageProcessing/imgproc/CV_Threshold.bin differ diff --git a/2.3-1/macros/ImageProcessing/imgproc/lib b/2.3-1/macros/ImageProcessing/imgproc/lib index 4863059b..ac7252be 100644 Binary files a/2.3-1/macros/ImageProcessing/imgproc/lib and b/2.3-1/macros/ImageProcessing/imgproc/lib differ diff --git a/2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.bin b/2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.bin new file mode 100644 index 00000000..0051630c Binary files /dev/null and b/2.3-1/macros/Scilab-Arduino/GenerateSetupFunction.bin differ diff --git a/2.3-1/macros/Scilab-Arduino/GetArduinoFunctions.bin b/2.3-1/macros/Scilab-Arduino/GetArduinoFunctions.bin new file mode 100644 index 00000000..fe9e2040 Binary files /dev/null and b/2.3-1/macros/Scilab-Arduino/GetArduinoFunctions.bin differ diff --git a/2.3-1/macros/Scilab-Arduino/GetArduinoSetupFunctions.bin b/2.3-1/macros/Scilab-Arduino/GetArduinoSetupFunctions.bin new file mode 100644 index 00000000..67f9fada Binary files /dev/null and b/2.3-1/macros/Scilab-Arduino/GetArduinoSetupFunctions.bin differ diff --git a/2.3-1/macros/Scilab-Arduino/InsertSetupInList.bin b/2.3-1/macros/Scilab-Arduino/InsertSetupInList.bin new file mode 100644 index 00000000..29e37315 Binary files /dev/null and b/2.3-1/macros/Scilab-Arduino/InsertSetupInList.bin differ diff --git a/2.3-1/macros/Scilab-Arduino/IsArduinoFunction.bin b/2.3-1/macros/Scilab-Arduino/IsArduinoFunction.bin new file mode 100644 index 00000000..5dbfacad Binary files /dev/null and b/2.3-1/macros/Scilab-Arduino/IsArduinoFunction.bin differ diff --git a/2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.bin b/2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.bin new file mode 100644 index 00000000..8948d1a3 Binary files /dev/null and b/2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.bin differ diff --git a/2.3-1/macros/Scilab-Arduino/lib b/2.3-1/macros/Scilab-Arduino/lib index 0304cade..21c7d5bf 100644 Binary files a/2.3-1/macros/Scilab-Arduino/lib and b/2.3-1/macros/Scilab-Arduino/lib differ diff --git a/2.3-1/macros/SymbolTable/ST_AnalyzeScope.bin b/2.3-1/macros/SymbolTable/ST_AnalyzeScope.bin new file mode 100644 index 00000000..7e727a04 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_AnalyzeScope.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_Del.bin b/2.3-1/macros/SymbolTable/ST_Del.bin new file mode 100644 index 00000000..c26e2e58 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_Del.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_FindPos.bin b/2.3-1/macros/SymbolTable/ST_FindPos.bin new file mode 100644 index 00000000..c7003f30 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_FindPos.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_Get.bin b/2.3-1/macros/SymbolTable/ST_Get.bin new file mode 100644 index 00000000..512e72b7 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_Get.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_GetInArgInfo.bin b/2.3-1/macros/SymbolTable/ST_GetInArgInfo.bin new file mode 100644 index 00000000..6eb16e37 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_GetInArgInfo.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_GetSymbolInfo.bin b/2.3-1/macros/SymbolTable/ST_GetSymbolInfo.bin new file mode 100644 index 00000000..b8a7cf74 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_GetSymbolInfo.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_InsForCntVars.bin b/2.3-1/macros/SymbolTable/ST_InsForCntVars.bin new file mode 100644 index 00000000..12882fc7 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_InsForCntVars.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_InsOutArg.bin b/2.3-1/macros/SymbolTable/ST_InsOutArg.bin new file mode 100644 index 00000000..ec9970cb Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_InsOutArg.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_Load.bin b/2.3-1/macros/SymbolTable/ST_Load.bin new file mode 100644 index 00000000..f158c2b6 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_Load.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_MatchSymbol.bin b/2.3-1/macros/SymbolTable/ST_MatchSymbol.bin new file mode 100644 index 00000000..278560d0 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_MatchSymbol.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_Save.bin b/2.3-1/macros/SymbolTable/ST_Save.bin new file mode 100644 index 00000000..4aa50a20 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_Save.bin differ diff --git a/2.3-1/macros/SymbolTable/ST_Set.bin b/2.3-1/macros/SymbolTable/ST_Set.bin new file mode 100644 index 00000000..cbd26274 Binary files /dev/null and b/2.3-1/macros/SymbolTable/ST_Set.bin differ diff --git a/2.3-1/macros/SymbolTable/lib b/2.3-1/macros/SymbolTable/lib index dbc603e2..4e2f0193 100644 Binary files a/2.3-1/macros/SymbolTable/lib and b/2.3-1/macros/SymbolTable/lib differ diff --git a/2.3-1/macros/ToolInitialization/INIT_CreateDirs.bin b/2.3-1/macros/ToolInitialization/INIT_CreateDirs.bin new file mode 100644 index 00000000..16ebab82 Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_CreateDirs.bin differ diff --git a/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.bin b/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.bin new file mode 100644 index 00000000..37cd5655 Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.bin differ diff --git a/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci index f0a83604..bf7ef244 100644 --- a/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci +++ b/2.3-1/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci @@ -843,6 +843,207 @@ PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file', INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); +// ------------------- +// --- Class Isreal. --- +// ------------------- +ClassName = 'Isreal'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); +//---Function list class. ---- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('s0'+ArgSeparator+'s0',ClassFileName,'file','y'); +PrintStringInfo('d0'+ArgSeparator+'d0',ClassFileName,'file','y'); +//PrintStringInfo('z0'+ArgSeparator+'d0',ClassFileName,'file','y'); +//PrintStringInfo('z0'+ArgSeparator+'z0',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'isreal'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + +ClassName = 'gcd'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); +//---Function list class. ---- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('u82'+ArgSeparator+'u80',ClassFileName,'file','y'); +PrintStringInfo('u80'+ArgSeparator+'u80',ClassFileName,'file','y'); +//PrintStringInfo('d2'+ArgSeparator+'d0',ClassFileName,'file','y'); +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'gcd'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + +ClassName = 'nextpow2'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +//PrintStringInfo('u82'+ArgSeparator+'u80',ClassFileName,'file','y'); +//PrintStringInfo('u80'+ArgSeparator+'u80',ClassFileName,'file','y'); +PrintStringInfo('d0'+ArgSeparator+'d0',ClassFileName,'file','y'); +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'nextpow2'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + + +ClassName = 'interp1'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +PrintStringInfo('NIN= 2',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +PrintStringInfo('NIN= 3',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(3).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(3).SZ(2)',ClassFileName,'file','y'); + +PrintStringInfo('NIN= 4',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +//---Function list class. ---- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +//PrintStringInfo('u82'+ArgSeparator+'u80',ClassFileName,'file','y'); +//PrintStringInfo('u80'+ArgSeparator+'u80',ClassFileName,'file','y'); +//PrintStringInfo('d2'+ArgSeparator+'d0',ClassFileName,'file','y'); +PrintStringInfo('d2d2d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('d2d2d2g2'+ArgSeparator+'d2',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'interp1'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + +// ------------------- +// --- Class DCT. --- +// ------------------- +ClassName = 'dct'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +PrintStringInfo('NIN= 2',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +// --- Function List Class. --- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); + +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('d2d0'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('z2'+ArgSeparator+'z2',ClassFileName,'file','y'); +PrintStringInfo('z2d0'+ArgSeparator+'z2',ClassFileName,'file','y'); +PrintStringInfo('c2'+ArgSeparator+'c2',ClassFileName,'file','y'); +PrintStringInfo('c2s0'+ArgSeparator+'c2',ClassFileName,'file','y'); +// --- Annotation Function And Function List Function. --- +FunctionName = 'dct'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + +// ------------------- +// --- Class IDCT. --- +// ------------------- +ClassName = 'idct'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); +// --- Function List Class. --- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); + +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('z2'+ArgSeparator+'z2',ClassFileName,'file','y'); +PrintStringInfo('c2'+ArgSeparator+'c2',ClassFileName,'file','y'); +// --- Annotation Function And Function List Function. --- +FunctionName = 'idct'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + + // ------------------- // --- Class Sqrt. --- // ------------------- @@ -7455,6 +7656,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); // --- Function List Class. --- ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('d2d2d2'+ArgSeparator+'d0',ClassFileName,'file','y'); PrintStringInfo('d2d2d0g2'+ArgSeparator+'d0',ClassFileName,'file','y'); //PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); //PrintStringInfo('s0'+ArgSeparator+'s0',ClassFileName,'file','y'); @@ -7472,6 +7674,36 @@ INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,E INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); +// --- Class Modk. --- +// ------------------ +ClassName = 'Modk'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).TP= ''d''',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +// --- Function List Class. --- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +//PrintStringInfo('s0'+ArgSeparator+'s0',ClassFileName,'file','y'); +//PrintStringInfo('s2'+ArgSeparator+'s2',ClassFileName,'file','y'); + +//PrintStringInfo('z2'+ArgSeparator+'z2',ClassFileName,'file','y'); +//PrintStringInfo('z0'+ArgSeparator+'z0',ClassFileName,'file','y'); +//PrintStringInfo('c2'+ArgSeparator+'c2',ClassFileName,'file','y'); +//PrintStringInfo('c0'+ArgSeparator+'c0',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'modk'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + //------------------------------------ //---- Class PRIMES -------------------- diff --git a/2.3-1/macros/ToolInitialization/INIT_GenAnnFLFunctions.bin b/2.3-1/macros/ToolInitialization/INIT_GenAnnFLFunctions.bin new file mode 100644 index 00000000..f7d2aa59 Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_GenAnnFLFunctions.bin differ diff --git a/2.3-1/macros/ToolInitialization/INIT_GenFileInfo.bin b/2.3-1/macros/ToolInitialization/INIT_GenFileInfo.bin new file mode 100644 index 00000000..a8d47222 Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_GenFileInfo.bin differ diff --git a/2.3-1/macros/ToolInitialization/INIT_GenLibraries.bin b/2.3-1/macros/ToolInitialization/INIT_GenLibraries.bin new file mode 100644 index 00000000..bc3bc873 Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_GenLibraries.bin differ diff --git a/2.3-1/macros/ToolInitialization/INIT_GenSharedInfo.bin b/2.3-1/macros/ToolInitialization/INIT_GenSharedInfo.bin new file mode 100644 index 00000000..7263830a Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_GenSharedInfo.bin differ diff --git a/2.3-1/macros/ToolInitialization/INIT_LoadLibraries.bin b/2.3-1/macros/ToolInitialization/INIT_LoadLibraries.bin new file mode 100644 index 00000000..c85aac6e Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_LoadLibraries.bin differ diff --git a/2.3-1/macros/ToolInitialization/INIT_RemoveDirs.bin b/2.3-1/macros/ToolInitialization/INIT_RemoveDirs.bin new file mode 100644 index 00000000..c1ee9ec0 Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_RemoveDirs.bin differ diff --git a/2.3-1/macros/ToolInitialization/INIT_SCI2C.bin b/2.3-1/macros/ToolInitialization/INIT_SCI2C.bin new file mode 100644 index 00000000..19402302 Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_SCI2C.bin differ diff --git a/2.3-1/macros/ToolInitialization/INIT_SharedInfoEqual.bin b/2.3-1/macros/ToolInitialization/INIT_SharedInfoEqual.bin new file mode 100644 index 00000000..31238a31 Binary files /dev/null and b/2.3-1/macros/ToolInitialization/INIT_SharedInfoEqual.bin differ diff --git a/2.3-1/macros/ToolInitialization/ManageNextConversion.bin b/2.3-1/macros/ToolInitialization/ManageNextConversion.bin new file mode 100644 index 00000000..bf43562a Binary files /dev/null and b/2.3-1/macros/ToolInitialization/ManageNextConversion.bin differ diff --git a/2.3-1/macros/ToolInitialization/UpdateSCI2CInfo.bin b/2.3-1/macros/ToolInitialization/UpdateSCI2CInfo.bin new file mode 100644 index 00000000..c13904d2 Binary files /dev/null and b/2.3-1/macros/ToolInitialization/UpdateSCI2CInfo.bin differ diff --git a/2.3-1/macros/ToolInitialization/doublecomplex.bin b/2.3-1/macros/ToolInitialization/doublecomplex.bin new file mode 100644 index 00000000..5e616f7c Binary files /dev/null and b/2.3-1/macros/ToolInitialization/doublecomplex.bin differ diff --git a/2.3-1/macros/ToolInitialization/floatcomplex.bin b/2.3-1/macros/ToolInitialization/floatcomplex.bin new file mode 100644 index 00000000..bd77a45f Binary files /dev/null and b/2.3-1/macros/ToolInitialization/floatcomplex.bin differ diff --git a/2.3-1/macros/ToolInitialization/lib b/2.3-1/macros/ToolInitialization/lib index 4d03bdc5..b7e8685b 100644 Binary files a/2.3-1/macros/ToolInitialization/lib and b/2.3-1/macros/ToolInitialization/lib differ diff --git a/2.3-1/macros/cb_sci2c_gui.bin b/2.3-1/macros/cb_sci2c_gui.bin new file mode 100644 index 00000000..bc691e45 Binary files /dev/null and b/2.3-1/macros/cb_sci2c_gui.bin differ diff --git a/2.3-1/macros/findDeps/Scilab2CDeps.bin b/2.3-1/macros/findDeps/Scilab2CDeps.bin new file mode 100644 index 00000000..ae162ecb Binary files /dev/null and b/2.3-1/macros/findDeps/Scilab2CDeps.bin differ diff --git a/2.3-1/macros/findDeps/findDeps.bin b/2.3-1/macros/findDeps/findDeps.bin new file mode 100644 index 00000000..fb11e006 Binary files /dev/null and b/2.3-1/macros/findDeps/findDeps.bin differ diff --git a/2.3-1/macros/findDeps/getAllHeaders.bin b/2.3-1/macros/findDeps/getAllHeaders.bin new file mode 100644 index 00000000..35c87db0 Binary files /dev/null and b/2.3-1/macros/findDeps/getAllHeaders.bin differ diff --git a/2.3-1/macros/findDeps/getAllHeaders.sci b/2.3-1/macros/findDeps/getAllHeaders.sci index b7f26b33..9e633f6e 100644 --- a/2.3-1/macros/findDeps/getAllHeaders.sci +++ b/2.3-1/macros/findDeps/getAllHeaders.sci @@ -72,6 +72,10 @@ function allHeaders = getAllHeaders(SharedInfo) "src/c/matrixOperations/includes/kron.h" "src/c/matrixOperations/includes/flipdim.h" "src/c/matrixOperations/includes/norm.h" + "src/c/interpolation/includes/interp1.h" + "src/c/elementaryFunctions/includes/nextpow2.h" + "src/c/elementaryFunctions/includes/gcd.h" + "src/c/elementaryFunctions/includes/isreal.h" "src/c/elementaryFunctions/includes/cos.h" "src/c/elementaryFunctions/includes/fix.h" "src/c/elementaryFunctions/includes/exp.h" @@ -140,6 +144,9 @@ function allHeaders = getAllHeaders(SharedInfo) "src/c/string/includes/dynlib_string.h" "src/c/string/includes/disp.h" "src/c/string/includes/str.h" + "src/c/signalProcessing/includes/modk.h" + "src/c/signalProcessing/includes/idct.h" + "src/c/signalProcessing/includes/dct.h" "src/c/signalProcessing/fft/fft_internal.h" "src/c/signalProcessing/ifft/ifft_internal.h" "src/c/signalProcessing/levin/levinUtils.h" diff --git a/2.3-1/macros/findDeps/getAllInterfaces.bin b/2.3-1/macros/findDeps/getAllInterfaces.bin new file mode 100644 index 00000000..4fa47780 Binary files /dev/null and b/2.3-1/macros/findDeps/getAllInterfaces.bin differ diff --git a/2.3-1/macros/findDeps/getAllInterfaces.sci b/2.3-1/macros/findDeps/getAllInterfaces.sci index c5c31165..42ed51d6 100644 --- a/2.3-1/macros/findDeps/getAllInterfaces.sci +++ b/2.3-1/macros/findDeps/getAllInterfaces.sci @@ -61,6 +61,10 @@ function allInterfaces = getAllInterfaces(SharedInfo) "src/c/matrixOperations/interfaces/int_flipdim.h" "src/c/matrixOperations/interfaces/int_permute.h" "src/c/matrixOperations/interfaces/int_norm.h" + "src/c/interpolation/interfaces/int_interp1.h" + "src/c/elementaryFunctions/interfaces/int_nextpow2.h" + "src/c/elementaryFunctions/interfaces/int_gcd.h" + "src/c/elementaryFunctions/interfaces/int_isreal.h" "src/c/elementaryFunctions/interfaces/int_asinh.h" "src/c/elementaryFunctions/interfaces/int_atanh.h" "src/c/elementaryFunctions/interfaces/int_sinh.h" @@ -140,6 +144,9 @@ function allInterfaces = getAllInterfaces(SharedInfo) "src/c/operations/interfaces/int_OpIns.h" "src/c/string/interfaces/int_disp.h" "src/c/string/interfaces/int_string.h" + "src/c/signalProcessing/interfaces/int_modk.h" + "src/c/signalProcessing/interfaces/int_idct.h" + "src/c/signalProcessing/interfaces/int_dct.h" "src/c/signalProcessing/interfaces/int_ifft.h" "src/c/signalProcessing/interfaces/int_lpc2cep.h" "src/c/signalProcessing/interfaces/int_cepstrum.h" diff --git a/2.3-1/macros/findDeps/getAllLibraries.bin b/2.3-1/macros/findDeps/getAllLibraries.bin new file mode 100644 index 00000000..098b51e6 Binary files /dev/null and b/2.3-1/macros/findDeps/getAllLibraries.bin differ diff --git a/2.3-1/macros/findDeps/getAllSources.bin b/2.3-1/macros/findDeps/getAllSources.bin new file mode 100644 index 00000000..bf618020 Binary files /dev/null and b/2.3-1/macros/findDeps/getAllSources.bin differ diff --git a/2.3-1/macros/findDeps/getAllSources.sci b/2.3-1/macros/findDeps/getAllSources.sci index fd8b664c..afa51194 100644 --- a/2.3-1/macros/findDeps/getAllSources.sci +++ b/2.3-1/macros/findDeps/getAllSources.sci @@ -334,6 +334,9 @@ function allSources = getAllSources(SharedInfo) "src/c/matrixOperations/kron/skrona.c" "src/c/matrixOperations/norm/dnormv.c" "src/c/matrixOperations/norm/dnorma.c" + "src/c/elementaryFunctions/nextpow2/dnextpow2a.c" + "src/c/elementaryFunctions/isreal/sisreals.c" + "src/c/elementaryFunctions/isreal/disreals.c" "src/c/elementaryFunctions/cos/dcosa.c" "src/c/elementaryFunctions/cos/dcoss.c" "src/c/elementaryFunctions/cos/scosa.c" @@ -964,6 +967,13 @@ function allSources = getAllSources(SharedInfo) "src/c/string/string/u16strings.c" "src/c/string/string/i16stringa.c" "src/c/string/string/i16strings.c" + "src/c/signalProcessing/modk/dmodka.c" + "src/c/signalProcessing/transforms/idct/cidcta.c" + "src/c/signalProcessing/transforms/idct/zidcta.c" + "src/c/signalProcessing/transforms/idct/didcta.c" + "src/c/signalProcessing/transforms/dct/cdcta.c" + "src/c/signalProcessing/transforms/dct/zdcta.c" + "src/c/signalProcessing/transforms/dct/ddcta.c" "src/c/signalProcessing/fft/dfft2.c" "src/c/signalProcessing/fft/cfftma.c" "src/c/signalProcessing/fft/r2tx.c" @@ -1175,6 +1185,9 @@ function allSources = getAllSources(SharedInfo) "src/c/elementaryFunctions/Trigonometry/sech/zsechs.c" "src/c/elementaryFunctions/Trigonometry/sech/csecha.c" "src/c/elementaryFunctions/Trigonometry/sech/csechs.c" + "src/c/interpolation/interp1/dinterp13a.c" + "src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcds.c" + "src/c/elementaryFunctions/discrete_mathematics/gcd/dgcda.c" "src/c/elementaryFunctions/discrete_mathematics/factorial/dfactorials.c" "src/c/elementaryFunctions/discrete_mathematics/factorial/dfactoriala.c" "src/c/elementaryFunctions/discrete_mathematics/factorial/sfactorials.c" diff --git a/2.3-1/macros/findDeps/getArduinoFiles.bin b/2.3-1/macros/findDeps/getArduinoFiles.bin new file mode 100644 index 00000000..411018b0 Binary files /dev/null and b/2.3-1/macros/findDeps/getArduinoFiles.bin differ diff --git a/2.3-1/macros/findDeps/lib b/2.3-1/macros/findDeps/lib index a49dc793..d94232c2 100644 Binary files a/2.3-1/macros/findDeps/lib and b/2.3-1/macros/findDeps/lib differ diff --git a/2.3-1/macros/getScilab2cVersion.bin b/2.3-1/macros/getScilab2cVersion.bin new file mode 100644 index 00000000..9620859e Binary files /dev/null and b/2.3-1/macros/getScilab2cVersion.bin differ diff --git a/2.3-1/macros/lib b/2.3-1/macros/lib index d818e184..7ce29e55 100644 Binary files a/2.3-1/macros/lib and b/2.3-1/macros/lib differ diff --git a/2.3-1/macros/runsci2c.bin b/2.3-1/macros/runsci2c.bin new file mode 100644 index 00000000..319e1c2e Binary files /dev/null and b/2.3-1/macros/runsci2c.bin differ diff --git a/2.3-1/macros/runsci2c.sci b/2.3-1/macros/runsci2c.sci index eb32a4b5..333d0f1b 100644 --- a/2.3-1/macros/runsci2c.sci +++ b/2.3-1/macros/runsci2c.sci @@ -113,7 +113,7 @@ PrintStepInfo('Copying sources', FileInfo.GeneralReport,'both'); for i = 1:size(allSources, "*") // DEBUG only - //disp("Copying "+allSources(i)+" in "+SCI2COutputPath+"/src/c/"); + disp("Copying "+allSources(i)+" in "+SCI2COutputPath+"/src/c/"); //Copy ode related functions only if 'ode' function is used. if(~isempty(strstr(allSources(i),'dode'))) if(size(SharedInfo.Includelist) <> 0) @@ -130,7 +130,7 @@ end PrintStepInfo('Copying headers', FileInfo.GeneralReport,'both'); for i = 1:size(allHeaders, "*") // DEBUG only - //disp("Copying "+allHeaders(i)+" in "+SCI2COutputPath+"/includes/"); + disp("Copying "+allHeaders(i)+" in "+SCI2COutputPath+"/includes/"); copyfile(allHeaders(i), SCI2COutputPath+"/includes/"); end diff --git a/2.3-1/macros/runscicode.bin b/2.3-1/macros/runscicode.bin new file mode 100644 index 00000000..46bda7cc Binary files /dev/null and b/2.3-1/macros/runscicode.bin differ diff --git a/2.3-1/macros/sci2c_gui.bin b/2.3-1/macros/sci2c_gui.bin new file mode 100644 index 00000000..57a2f696 Binary files /dev/null and b/2.3-1/macros/sci2c_gui.bin differ diff --git a/2.3-1/macros/scilab2c.bin b/2.3-1/macros/scilab2c.bin new file mode 100644 index 00000000..9fc934f8 Binary files /dev/null and b/2.3-1/macros/scilab2c.bin differ diff --git a/2.3-1/src/c/elementaryFunctions/discrete_mathematics/gcd/dgcda.c b/2.3-1/src/c/elementaryFunctions/discrete_mathematics/gcd/dgcda.c new file mode 100644 index 00000000..a32ed773 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/discrete_mathematics/gcd/dgcda.c @@ -0,0 +1,32 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "gcd.h" +#include "types.h" + +void dgcda(double *in,int size,double *out) +{ + double a=in[0]; + double b=in[1]; + while(a!=b && a!=0 && b!=0) + { + if(a>b) + { + a=a-b; + } + else + { + b=b-a; + } + } + out[0]=b; +} diff --git a/2.3-1/src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcds.c b/2.3-1/src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcds.c new file mode 100644 index 00000000..75f831fc --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcds.c @@ -0,0 +1,32 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "gcd.h" +#include "types.h" + +int8 u8gcds(int8 *in,int size) +{ + int a=in[0]; + int b=in[1]; + while(a!=b && a!=0 && b!=0) + { + if(a>b) + { + a=a-b; + } + else + { + b=b-a; + } + } + return b; +} diff --git a/2.3-1/src/c/elementaryFunctions/includes/gcd.h b/2.3-1/src/c/elementaryFunctions/includes/gcd.h new file mode 100644 index 00000000..eb75c973 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/includes/gcd.h @@ -0,0 +1,31 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * Author: Ukasha Noor + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +#ifndef __GCD_H__ +#define __GCD_H__ + +#include "types.h" + +#ifdef __cplusplus +extern "C" { +#endif + +int8 u8gcds(int8 *in,int size); + +void dgcda(double *in,int size,double *out); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/2.3-1/src/c/elementaryFunctions/includes/isreal.h b/2.3-1/src/c/elementaryFunctions/includes/isreal.h new file mode 100644 index 00000000..0183ebce --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/includes/isreal.h @@ -0,0 +1,30 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +#ifndef __ISREAL_H__ +#define __ISREAL_H__ + +#include "types.h" + +#ifdef __cplusplus +extern "C" { +#endif + +float sisreals(float a); + +double disreals(double a); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/2.3-1/src/c/elementaryFunctions/includes/nextpow2.h b/2.3-1/src/c/elementaryFunctions/includes/nextpow2.h new file mode 100644 index 00000000..c86bea01 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/includes/nextpow2.h @@ -0,0 +1,28 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + + +#ifndef __NEXTPOW2_H__ +#define __NEXTPOW2_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +void dnextpow2a(double *in,int size,double *out); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif + diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_gcd.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_gcd.h new file mode 100644 index 00000000..c2135b70 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_gcd.h @@ -0,0 +1,25 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_GCD_H__ +#define __INT_GCD_H__ + +#include "gcd.h" + +#define u82gcdu80(in,size) u8gcds(in,size) + +#define d2gcdd2(in,size,out) dgcda(in,size[0]*size[1],out) + +#endif + diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_isreal.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_isreal.h new file mode 100644 index 00000000..cebbf6db --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_isreal.h @@ -0,0 +1,22 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + + + +#ifndef __INT_ISREAL_H__ +#define __INT_ISREAL_H__ + +#define s0isreals0(in) sisreals(in) + +#define d0isreald0(in) disreals(in) + +#endif diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_nextpow2.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_nextpow2.h new file mode 100644 index 00000000..6ae4747b --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_nextpow2.h @@ -0,0 +1,26 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + + +#ifndef __INT_NEXTPOW2_H__ +#define __INT_NEXTPOW2_H__ + + +#include "nextpow2.h" + +#define d0nextpow2d0(in,size,out) dnextpow2a(in,size[0]*size[1],out) + +#define d2nextpow2d2(in,size,out) dnextpow2a(in,size[0]*size[1],out) + +#endif diff --git a/2.3-1/src/c/elementaryFunctions/isreal/disreals.c b/2.3-1/src/c/elementaryFunctions/isreal/disreals.c new file mode 100644 index 00000000..8c7c8201 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/isreal/disreals.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "isreal.h" + +double disreals(double a){ + return 1; +} diff --git a/2.3-1/src/c/elementaryFunctions/isreal/sisreals.c b/2.3-1/src/c/elementaryFunctions/isreal/sisreals.c new file mode 100644 index 00000000..4b93c02c --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/isreal/sisreals.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include "isreal.h" + +float sisreals(float a){ + return 1; +} diff --git a/2.3-1/src/c/elementaryFunctions/nextpow2/dnextpow2a.c b/2.3-1/src/c/elementaryFunctions/nextpow2/dnextpow2a.c new file mode 100644 index 00000000..46f7eb80 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/nextpow2/dnextpow2a.c @@ -0,0 +1,30 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Organization: FOSSEE, IIT Bombay + Author: Ukasha Noor + Email: toolbox@scilab.in +*/ + +#include "nextpow2.h" +#include + +void dnextpow2a(double *in,int size,double *out) +{ + int i,j,s; + double k; + i=2; + for(s=0;sk); + out[s]=j; + } +} diff --git a/2.3-1/src/c/interpolation/includes/interp1.h b/2.3-1/src/c/interpolation/includes/interp1.h new file mode 100644 index 00000000..1c01417e --- /dev/null +++ b/2.3-1/src/c/interpolation/includes/interp1.h @@ -0,0 +1,30 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#ifndef __INTERP1_H__ +#define __INTERP1_H__ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +//void dinterp13a(double *x,double *fx,double *q,int size,double *out); +void dinterp13a(double *x,int size1,double *fx,int size2,double *q,int size3,char *a,int size4,double *out); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/2.3-1/src/c/interpolation/interfaces/int_interp1.h b/2.3-1/src/c/interpolation/interfaces/int_interp1.h new file mode 100644 index 00000000..6d579e10 --- /dev/null +++ b/2.3-1/src/c/interpolation/interfaces/int_interp1.h @@ -0,0 +1,28 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + + +#ifndef __INT_INTERP1_H__ +#define __INT_INTERP1_H__ + +#include "interp1.h" +#include + +#define d2d2d2interp1d2(x,size1,fx,size2,q,size3,out) dinterp13a(x,size1[0]*size1[1],fx,size2[0]*size1[1],q,size3[0]*size3[1],"linear",6,out) + +#define d2d2d2g2interp1d2(x,size1,fx,size2,q,size3,ch,size4,out) dinterp13a(x,size1[0]*size1[1],fx,size2[0]*size1[1],q,size3[0]*size3[1],ch,size4[0]*size4[1],out) + + +#endif + diff --git a/2.3-1/src/c/interpolation/interp1/dinterp13a.c b/2.3-1/src/c/interpolation/interp1/dinterp13a.c new file mode 100644 index 00000000..7b755e1c --- /dev/null +++ b/2.3-1/src/c/interpolation/interp1/dinterp13a.c @@ -0,0 +1,75 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + + +#include "interp1.h" +#include + +void dinterp13a(double *x,int size1,double *fx,int size2,double *q,int size3,char *ch,int size4,double *out) +{ + int i,j,k,f; + double a,b; + if(strcmp(ch,"linear")==0) + { + for(i=0;ix[j]) + { + j++; + } + a=x[j-1]; + b=x[j]; + out[i]=fx[j-1]+(q[i]-a)*((fx[j]-fx[j-1])/(b-a)); + } + } + } + else if(strcmp(ch,"nearest")==0) + { + for(i=0;ix[j]) + { + j++; + } + out[i]=fx[j]; + } + } + } +} + + diff --git a/2.3-1/src/c/matrixOperations/cat/ccata.c b/2.3-1/src/c/matrixOperations/cat/ccata.c index a6ac6cf0..cd2b4c92 100644 --- a/2.3-1/src/c/matrixOperations/cat/ccata.c +++ b/2.3-1/src/c/matrixOperations/cat/ccata.c @@ -26,7 +26,7 @@ void crowcata(floatComplex *in1, int lines1, int columns1, floatComplex *in2, i { for (j = 0 ; j < lines1 ; ++j) { - /*out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];*/ + out[i*(lines1 + lines2) + j] = in1[i*lines1 + j]; } for (j = 0 ; j < lines2 ; ++j) { diff --git a/2.3-1/src/c/matrixOperations/cat/zcata.c b/2.3-1/src/c/matrixOperations/cat/zcata.c index bfb6e922..485553d7 100644 --- a/2.3-1/src/c/matrixOperations/cat/zcata.c +++ b/2.3-1/src/c/matrixOperations/cat/zcata.c @@ -26,7 +26,7 @@ void zrowcata(doubleComplex *in1, int lines1, int columns1, doubleComplex *in2, { for (j = 0 ; j < lines1 ; ++j) { - /*out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];*/ + out[i*(lines1 + lines2) + j] = in1[i*lines1 + j]; } for (j = 0 ; j < lines2 ; ++j) { diff --git a/2.3-1/src/c/signalProcessing/includes/dct.h b/2.3-1/src/c/signalProcessing/includes/dct.h new file mode 100644 index 00000000..5255241e --- /dev/null +++ b/2.3-1/src/c/signalProcessing/includes/dct.h @@ -0,0 +1,36 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + + +#ifndef __DCT_H__ +#define __DCT_H__ + +#include +#include "types.h" +#include "doubleComplex.h" +#include "addition.h" + +#ifdef __cplusplus +extern "C" { +#endif + +void ddcta(double *in,int row,int col,int sign,double *out); + +void zdcta(doubleComplex *in,int row,int col,int sign,doubleComplex *out); + +void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/2.3-1/src/c/signalProcessing/includes/idct.h b/2.3-1/src/c/signalProcessing/includes/idct.h new file mode 100644 index 00000000..13458b7d --- /dev/null +++ b/2.3-1/src/c/signalProcessing/includes/idct.h @@ -0,0 +1,36 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + + +#ifndef __IDCT_H__ +#define __IDCT_H__ + +#include +#include "types.h" +#include "doubleComplex.h" +#include "addition.h" + +#ifdef __cplusplus +extern "C" { +#endif + +void didcta(double *in,int row,int col,double *out); + +void zidcta(doubleComplex *in,int row,int col,doubleComplex *out); + +void cidcta(floatComplex *in,int row,int col,floatComplex *out); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif diff --git a/2.3-1/src/c/signalProcessing/includes/modk.h b/2.3-1/src/c/signalProcessing/includes/modk.h new file mode 100644 index 00000000..5040eb7f --- /dev/null +++ b/2.3-1/src/c/signalProcessing/includes/modk.h @@ -0,0 +1,28 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ankit Raj + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in + */ + +#ifndef __MODK_H__ +#define __MODK_H__ +#include "types.h" + +#ifdef __cplusplus +extern "C" { +#endif + +void dmodka(double* inp,int size,double* oup); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __MODK_H__ */ + diff --git a/2.3-1/src/c/signalProcessing/interfaces/int_dct.h b/2.3-1/src/c/signalProcessing/interfaces/int_dct.h new file mode 100644 index 00000000..6cfb21c7 --- /dev/null +++ b/2.3-1/src/c/signalProcessing/interfaces/int_dct.h @@ -0,0 +1,32 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + + + +#ifndef __INT_DCT_H__ +#define __INT_DCT_H__ + + + +#define d2dctd2(in,size,out) ddcta(in,size[0],size[1],-1,out) + +#define d2d0dctd2(in,size,sign,out) ddcta(in,size[0],size[1],sign,out) + +#define z2dctz2(in,size,out) zdcta(in,size[0],size[1],-1,out) + +#define z2d0dctz2(in,size,sign,out) zdcta(in,size[0],size[1],sign,out) + +#define c2dctc2(in,size,out) cdcta(in,size[0],size[1],-1,out) + +#define c2s0dctc2(in,size,sign,out) cdcta(in,size[0],size[1],sign,out) + +#endif diff --git a/2.3-1/src/c/signalProcessing/interfaces/int_idct.h b/2.3-1/src/c/signalProcessing/interfaces/int_idct.h new file mode 100644 index 00000000..c3a174ac --- /dev/null +++ b/2.3-1/src/c/signalProcessing/interfaces/int_idct.h @@ -0,0 +1,26 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ukasha Noor + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + + + +#ifndef __INT_IDCT_H__ +#define __INT_IDCT_H__ + + + +#define d2idctd2(in,size,out) didcta(in,size[0],size[1],out) + +#define z2idctz2(in,size,out) zidcta(in,size[0],size[1],out) + +#define c2idctc2(in,size,out) cidcta(in,size[0],size[1],out) + +#endif diff --git a/2.3-1/src/c/signalProcessing/interfaces/int_modk.h b/2.3-1/src/c/signalProcessing/interfaces/int_modk.h new file mode 100644 index 00000000..441b9b13 --- /dev/null +++ b/2.3-1/src/c/signalProcessing/interfaces/int_modk.h @@ -0,0 +1,18 @@ +/* Copyright (C) 2017 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Ankit Raj + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in + */ + +#ifndef __INT_MODK_H__ +#define __INT_MODK_H__ + +#define d2modkd2(inp,size,oup) dmodka(inp,size[1],oup) + +#endif /* !INT_MODK_H__! */ diff --git a/2.3-1/src/c/signalProcessing/modk/dmodka.c b/2.3-1/src/c/signalProcessing/modk/dmodka.c new file mode 100644 index 00000000..c0630ec0 --- /dev/null +++ b/2.3-1/src/c/signalProcessing/modk/dmodka.c @@ -0,0 +1,97 @@ +#include +#include +#include "modk.h" +double max_calc(double* ptr,int sz) +{ + int i=0; + double mx; + if(ptr[0]<0) + { + ptr[0]=-1*ptr[0]; + } + mx=(ptr[0]); + //printf("%lf\n",mx); + for(i=1;ieps) + { + int q,w,r; + for(q=0;q*/ +#include + +void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out) +{ + int i,j,k,u,v; + int n; + int x,y; + float res,ress; + float re,z,q,m; + floatComplex accu = DoubleComplex(0, 0); + floatComplex temp,mm; + if(sign==-1) + { + if(row==1) + { + n=col; + for(u=0;u*/ +#include + +void ddcta(double *in,int row,int col,int sign,double *out) +{ + int i,j,k,u,v; + int n; + int x,y; + double res,ress; + double re,z,q,m; + if(sign==-1) + { + if(row==1) + { + n=col; + for(u=0;u*/ +#include + +void zdcta(doubleComplex *in,int row,int col,int sign,doubleComplex *out) +{ + int i,j,k,u,v; + int n; + int x,y; + double res,ress; + double re,z,q,m; + doubleComplex accu = DoubleComplex(0, 0); + doubleComplex temp,mm; + if(sign==-1) + { + if(row==1) + { + n=col; + for(u=0;u*/ +#include + +void cidcta(floatComplex *in,int row,int col,floatComplex *out) +{ + int i,j,k,u,v; + int n=col; + int x,y; + float res,ress; + float re,z,q,m; + floatComplex accu = DoubleComplex(0, 0); + floatComplex temp,mm; + if(row==1) + { + res=1./sqrt(n); + ress=sqrt(2./n); + for(u=0;u*/ +#include + +void didcta(double *in,int row,int col,double *out) +{ + int i,j,k,u,v; + int n=col; + int x,y; + double res,ress; + double re,z,q,m; + if(row==1) + { + res=1./sqrt(n); + ress=sqrt(2./n); + for(u=0;u*/ +#include + +void zidcta(doubleComplex *in,int row,int col,doubleComplex *out) +{ + int i,j,k,u,v; + int n=col; + int x,y; + double res,ress; + double re,z,q,m; + doubleComplex accu = DoubleComplex(0, 0); + doubleComplex temp,mm; + if(row==1) + { + res=1./sqrt(n); + ress=sqrt(2./n); + for(u=0;u