From db464f35f5a10b58d9ed1085e0b462689adee583 Mon Sep 17 00:00:00 2001 From: Siddhesh Wani Date: Mon, 25 May 2015 14:46:31 +0530 Subject: Original Version --- macros/FunctionList/FL_ExistCFunction.bin | Bin 0 -> 12304 bytes macros/FunctionList/FL_ExistCFunction.sci | 106 +++++++++++++++++++++++ macros/FunctionList/FL_ExtractFuncList.bin | Bin 0 -> 7828 bytes macros/FunctionList/FL_ExtractFuncList.sci | 62 ++++++++++++++ macros/FunctionList/FL_GetFunctionClass.bin | Bin 0 -> 6832 bytes macros/FunctionList/FL_GetFunctionClass.sci | 54 ++++++++++++ macros/FunctionList/FL_InOutArgs2CFunNames.bin | Bin 0 -> 6452 bytes macros/FunctionList/FL_InOutArgs2CFunNames.sci | 51 +++++++++++ macros/FunctionList/FL_UpdateConverted.bin | Bin 0 -> 5572 bytes macros/FunctionList/FL_UpdateConverted.sci | 46 ++++++++++ macros/FunctionList/FL_UpdateToBeConv.bin | Bin 0 -> 14628 bytes macros/FunctionList/FL_UpdateToBeConv.sci | 114 +++++++++++++++++++++++++ macros/FunctionList/buildmacros.sce | 15 ++++ macros/FunctionList/lib | Bin 0 -> 552 bytes macros/FunctionList/names | 6 ++ 15 files changed, 454 insertions(+) create mode 100644 macros/FunctionList/FL_ExistCFunction.bin create mode 100644 macros/FunctionList/FL_ExistCFunction.sci create mode 100644 macros/FunctionList/FL_ExtractFuncList.bin create mode 100644 macros/FunctionList/FL_ExtractFuncList.sci create mode 100644 macros/FunctionList/FL_GetFunctionClass.bin create mode 100644 macros/FunctionList/FL_GetFunctionClass.sci create mode 100644 macros/FunctionList/FL_InOutArgs2CFunNames.bin create mode 100644 macros/FunctionList/FL_InOutArgs2CFunNames.sci create mode 100644 macros/FunctionList/FL_UpdateConverted.bin create mode 100644 macros/FunctionList/FL_UpdateConverted.sci create mode 100644 macros/FunctionList/FL_UpdateToBeConv.bin create mode 100644 macros/FunctionList/FL_UpdateToBeConv.sci create mode 100644 macros/FunctionList/buildmacros.sce create mode 100644 macros/FunctionList/lib create mode 100644 macros/FunctionList/names (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/FL_ExistCFunction.bin b/macros/FunctionList/FL_ExistCFunction.bin new file mode 100644 index 00000000..1182a7f2 Binary files /dev/null and b/macros/FunctionList/FL_ExistCFunction.bin differ diff --git a/macros/FunctionList/FL_ExistCFunction.sci b/macros/FunctionList/FL_ExistCFunction.sci new file mode 100644 index 00000000..5b63ec5b --- /dev/null +++ b/macros/FunctionList/FL_ExistCFunction.sci @@ -0,0 +1,106 @@ +function flagexist = FL_ExistCFunction(CFunName,USER2CAvailableCDat,SCI2CAvailableCDat,ConvertedDat,ToBeConvertedDat,ReportFileName) +// function flagexist = FL_ExistCFunction(CFunName,USER2CAvailableCDat,SCI2CAvailableCDat,ConvertedDat,ToBeConvertedDat,ReportFileName) +// ----------------------------------------------------------------- +// //NUT: add description here +// +// Input data: +// //NUT: add description here +// +// Output data: +// //NUT: add description here +// +// Status: +// 30-Oct-2007 -- Raffaele Nutricato: Author. +// 30-Oct-2007 -- Alberto Morea: Test Ok. +// +// Copyright 2007 Raffaele Nutricato & Alberto Morea. +// Contact: raffaele.nutricato@tiscali.it +// ----------------------------------------------------------------- + +// ------------------------------ +// --- Check input arguments. --- +// ------------------------------ +SCI2CNInArgCheck(argn(2),6,6); + +// ----------------------- +// --- Initialization. --- +// ----------------------- +flagexist = %F; +// --------------------------- +// --- End Initialization. --- +// --------------------------- + + +AvailableDat = USER2CAvailableCDat; +load(AvailableDat,'Available'); +NAvail = size(Available,1); + +tmpcnt = 1; +while ((tmpcnt <=NAvail) & (flagexist == %F)) + if mtlb_strcmp(Available(tmpcnt),CFunName) + flagexist = %T; + // #RNU_RES_B + PrintStringInfo(' Found C Function Name in : '+AvailableDat,ReportFileName,'file','y'); + // #RNU_RES_E + end + tmpcnt = tmpcnt + 1; +end +clear Available + +if (flagexist == %F) + AvailableDat = SCI2CAvailableCDat; + load(AvailableDat,'Available'); + NAvail = size(Available,1); + + tmpcnt = 1; + while ((tmpcnt <=NAvail) & (flagexist == %F)) + if mtlb_strcmp(Available(tmpcnt),CFunName) + flagexist = %T; + // #RNU_RES_B + PrintStringInfo(' Found C Function Name in : '+AvailableDat,ReportFileName,'file','y'); + // #RNU_RES_E + end + tmpcnt = tmpcnt + 1; + end + clear Available +end + +if (flagexist == %F) + load(ConvertedDat,'Converted'); + NConv = size(Converted,1); + tmpcnt = 1; + while ((tmpcnt <=NConv) & (flagexist == %F)) + if mtlb_strcmp(Converted(tmpcnt),CFunName) + flagexist = %T; + // #RNU_RES_B + PrintStringInfo(' Found C Function Name in : '+ConvertedDat,ReportFileName,'file','y'); + // #RNU_RES_E + end + tmpcnt = tmpcnt + 1; + end + clear Converted +end + +if (flagexist == %F) + load(ToBeConvertedDat,'ToBeConverted'); + NToBeConv = size(ToBeConverted,1); + tmpcnt = 1; + while ((tmpcnt <=NToBeConv) & (flagexist == %F)) + if mtlb_strcmp(ToBeConverted(tmpcnt).CFunctionName,CFunName) + flagexist = %T; + // #RNU_RES_B + PrintStringInfo(' Found C Function Name in : '+ToBeConvertedDat,ReportFileName,'file','y'); + // #RNU_RES_E + end + tmpcnt = tmpcnt + 1; + end + clear ToBeConverted +end + +if (flagexist == %F) + // #RNU_RES_B + PrintStringInfo(' C Function Name not found in the ""Available"" , ""Converted"" and ""ToBeConverted"" function lists.',ReportFileName,'file','y'); + // #RNU_RES_E +end + +endfunction diff --git a/macros/FunctionList/FL_ExtractFuncList.bin b/macros/FunctionList/FL_ExtractFuncList.bin new file mode 100644 index 00000000..ec74708d Binary files /dev/null and b/macros/FunctionList/FL_ExtractFuncList.bin differ diff --git a/macros/FunctionList/FL_ExtractFuncList.sci b/macros/FunctionList/FL_ExtractFuncList.sci new file mode 100644 index 00000000..9e951d9c --- /dev/null +++ b/macros/FunctionList/FL_ExtractFuncList.sci @@ -0,0 +1,62 @@ +function [CFuncList,NElements] = FL_ExtractFuncList(FunctionDir,ClassDir,SCI2CClassSpecifier,ExtFLCls,ReportFileName) +// function [CFuncList,NElements] = FL_ExtractFuncList(FunctionDir,ClassDir,SCI2CClassSpecifier,ExtFLCls,ReportFileName) +// ----------------------------------------------------------------- +// #RNU_RES_B +// Extracts the list of the C functions available. To do that +// this function enters in the directories where the .clst and +// .lst files are stored. +// #RNU_RES_E +// +// Input data: +// //NUT: add description here +// +// Output data: +// //NUT: add description here +// +// Status: +// 05-Jan-2008 -- Nutricato Raffaele: Author. +// +// Copyright 2008 Raffaele Nutricato. +// Contact: raffaele.nutricato@tiscali.it +// ----------------------------------------------------------------- + + +// ------------------------------ +// --- Check input arguments. --- +// ------------------------------ +SCI2CNInArgCheck(argn(2),5,5); + +// #RNU_RES_B +// --------------------------------------------------------- +// --- Extract the list of files in Functions directory. --- +// --------------------------------------------------------- +// #RNU_RES_E +tmppwd = pwd(); +cd(FunctionDir); +// funfiles = ls(); +funfiles = listfiles(); +cd(tmppwd); +NFunFiles = size(funfiles,1); + +// #RNU_RES_B +// ----------------------------------------------------------- +// --- Extract the C function list from Classes directory. --- +// ----------------------------------------------------------- +// #RNU_RES_E +CFuncList = ''; +NElements = 0; + +for cntfun = 1:NFunFiles + FunFileName = fullfile(FunctionDir,funfiles(cntfun)); + ClassName = FL_GetFunctionClass(FunFileName,SCI2CClassSpecifier,ReportFileName); + ClassFileName = fullfile(ClassDir,ClassName); + [tmpfunlist,tmpnelem] = File2StringArray(ClassFileName+ExtFLCls); + [tmppath,tmpfunname,tmpext] = fileparts(FunFileName); + tmpfunlist = FL_InOutArgs2CFunNames(tmpfunname,tmpfunlist,tmpnelem); + for cnttmpfun = 1:tmpnelem + NElements = NElements + 1; + CFuncList(NElements) = tmpfunlist(cnttmpfun); + end +end + +endfunction diff --git a/macros/FunctionList/FL_GetFunctionClass.bin b/macros/FunctionList/FL_GetFunctionClass.bin new file mode 100644 index 00000000..5ad5b2f9 Binary files /dev/null and b/macros/FunctionList/FL_GetFunctionClass.bin differ diff --git a/macros/FunctionList/FL_GetFunctionClass.sci b/macros/FunctionList/FL_GetFunctionClass.sci new file mode 100644 index 00000000..09fad929 --- /dev/null +++ b/macros/FunctionList/FL_GetFunctionClass.sci @@ -0,0 +1,54 @@ +function SCI2CClassName = FL_GetFunctionClass(FunFileName,SCI2CClassSpecifier,ReportFileName) +// function SCI2CClassName = FL_GetFunctionClass(FunFileName,SCI2CClassSpecifier,ReportFileName) +// ----------------------------------------------------------------- +// //NUT: add description here +// +// Input data: +// //NUT: add description here +// +// Output data: +// //NUT: add description here +// +// Status: +// 11-Jul-2007 -- Nutricato Raffaele: Author. +// +// Copyright 2007 Raffaele Nutricato. +// Contact: raffaele.nutricato@tiscali.it +// ----------------------------------------------------------------- + +// ------------------------------ +// --- Check input arguments. --- +// ------------------------------ +SCI2CNInArgCheck(argn(2),3,3); + +// --------------------------------------- +// --- Read the class of the function. --- +// --------------------------------------- +// --- Open the .sci file (read only). --- +inannfid = SCI2COpenFileRead(FunFileName); + +FoundClass = 0; +if (meof(inannfid) == 0) + check_string = stripblanks(mgetl(inannfid,1)); + if (~isempty(check_string)) + if (SCI2Cstrncmps1size(SCI2CClassSpecifier,check_string)) + SCI2CClassName = part(check_string,length(SCI2CClassSpecifier)+1:length(check_string)); + // #RNU_RES_B + PrintStringInfo(' Function belongs to class: '+SCI2CClassName+'.',ReportFileName,'file','y'); + // #RNU_RES_E + FoundClass = 1; + else + error(9999, 'Could not find ""'+SCI2CClassSpecifier+'"" in '+FunFileName+'.'); + end + end +end +mclose(inannfid); +if (FoundClass == 0) + error(9999, 'Could not find ""'+SCI2CClassSpecifier+'"" specifier.'); +end + +// ------------------------------------------- +// --- End read the class of the function. --- +// ------------------------------------------- +endfunction + \ No newline at end of file diff --git a/macros/FunctionList/FL_InOutArgs2CFunNames.bin b/macros/FunctionList/FL_InOutArgs2CFunNames.bin new file mode 100644 index 00000000..09d5eb5e Binary files /dev/null and b/macros/FunctionList/FL_InOutArgs2CFunNames.bin differ diff --git a/macros/FunctionList/FL_InOutArgs2CFunNames.sci b/macros/FunctionList/FL_InOutArgs2CFunNames.sci new file mode 100644 index 00000000..e559f385 --- /dev/null +++ b/macros/FunctionList/FL_InOutArgs2CFunNames.sci @@ -0,0 +1,51 @@ +function FunNameCFuncList = FL_InOutArgs2CFunNames(FunctionName,CommaSepCFuncList,CFuncListNElem) +// function FunNameCFuncList = FL_InOutArgs2CFunNames(FunctionName,CommaSepCFuncList,CFuncListNElem) +// ----------------------------------------------------------------- +// #RNU_RES_B +// Reads a Comma Separated Function List and converts it into the +// corresponding list of C function. In the Comma Separated +// Function List only input and output arguments are specified +// and they are separated by a comma. +// #RNU_RES_E +// +// Input data: +// //NUT: add description here +// +// Output data: +// //NUT: add description here +// +// Status: +// 05-Jan-2008 -- Nutricato Raffaele: Author. +// +// Copyright 2008 Raffaele Nutricato. +// Contact: raffaele.nutricato@tiscali.it +// ----------------------------------------------------------------- + + +// ------------------------------ +// --- Check input arguments. --- +// ------------------------------ +SCI2CNInArgCheck(argn(2),3,3); + + +FunNameCFuncList = ''; +SepChar = ','; +for cntelem = 1:CFuncListNElem + tmptokens = tokens(CommaSepCFuncList(cntelem),SepChar); + if (size(tmptokens,1) == 0) + FunNameCFuncList(cntelem) = FunctionName; + elseif (size(tmptokens,1) == 1) + if part(tmptokens,1:1) == ',' + FunNameCFuncList(cntelem) = FunctionName+tmptokens(2); + else + FunNameCFuncList(cntelem) = tmptokens(1)+FunctionName; + end + elseif (size(tmptokens,1) == 2) + FunNameCFuncList(cntelem) = tmptokens(1)+FunctionName+tmptokens(2); + else + disp('Incorrect format for the function list class.'); + error(9999, 'Check the following function list class item: ""'+CommaSepCFuncList(cntelem)+'"".'); + end +end + +endfunction diff --git a/macros/FunctionList/FL_UpdateConverted.bin b/macros/FunctionList/FL_UpdateConverted.bin new file mode 100644 index 00000000..9bb513b2 Binary files /dev/null and b/macros/FunctionList/FL_UpdateConverted.bin differ diff --git a/macros/FunctionList/FL_UpdateConverted.sci b/macros/FunctionList/FL_UpdateConverted.sci new file mode 100644 index 00000000..5f4637e8 --- /dev/null +++ b/macros/FunctionList/FL_UpdateConverted.sci @@ -0,0 +1,46 @@ +function Converted = FL_UpdateConverted(NFilesToTranslate,ConvertedDatFile) +// function Converted = FL_UpdateConverted(NFilesToTranslate,ConvertedDatFile) +// ----------------------------------------------------------------- +// //NUT: add description here +// +// Input data: +// //NUT: add description here +// +// Output data: +// //NUT: add description here +// +// Status: +// 27-Oct-2007 -- Raffaele Nutricato: Author. +// +// Copyright 2007 Raffaele Nutricato. +// Contact: raffaele.nutricato@tiscali.it +// ----------------------------------------------------------------- + +// ------------------------------ +// --- Check input arguments. --- +// ------------------------------ +SCI2CNInArgCheck(argn(2),2,2); + +// ----------------------- +// --- Initialization. --- +// ----------------------- +// --- Load Converted .dat file. --- +load(ConvertedDatFile,'Converted'); +// --------------------------- +// --- End Initialization. --- +// --------------------------- + + +if (NFilesToTranslate >= 1) + // --------------------------------------- + // --- Update Converted Function List. --- + // --------------------------------------- + // --- Insert the current function into the converted function list. --- + NConvP1 = size(Converted,1)+1; + Converted(NConvP1) = SharedInfo.NextCFunName; + // ------------------------------------------- + // --- End Update Converted Function List. --- + // ------------------------------------------- +end + +endfunction diff --git a/macros/FunctionList/FL_UpdateToBeConv.bin b/macros/FunctionList/FL_UpdateToBeConv.bin new file mode 100644 index 00000000..99a4a715 Binary files /dev/null and b/macros/FunctionList/FL_UpdateToBeConv.bin differ diff --git a/macros/FunctionList/FL_UpdateToBeConv.sci b/macros/FunctionList/FL_UpdateToBeConv.sci new file mode 100644 index 00000000..1ee2e15d --- /dev/null +++ b/macros/FunctionList/FL_UpdateToBeConv.sci @@ -0,0 +1,114 @@ +function SharedInfo = FL_UpdateToBeConv(ASTFunName,CFunName,FunPrecSpecifier,FunTypeAnnot,FunSizeAnnot,InArg,NInArg,OutArg,NOutArg,FileInfo,SharedInfo) +// function SharedInfo = FL_UpdateToBeConv(ASTFunName,CFunName,FunPrecSpecifier,FunTypeAnnot,FunSizeAnnot,InArg,NInArg,OutArg,NOutArg,FileInfo,SharedInfo) +// ----------------------------------------------------------------- +// //NUT: add description here +// +// Input data: +// //NUT: add description here +// +// Output data: +// //NUT: add description here +// +// Status: +// 27-Oct-2007 -- Raffaele Nutricato: Author. +// +// Copyright 2007 Raffaele Nutricato. +// Contact: raffaele.nutricato@tiscali.it +// ----------------------------------------------------------------- + +// ------------------------------ +// --- Check input arguments. --- +// ------------------------------ +SCI2CNInArgCheck(argn(2),11,11); + +// ----------------------- +// --- Initialization. --- +// ----------------------- +nxtscifunname = SharedInfo.NextSCIFunName; +nxtscifunnumber = SharedInfo.NextSCIFunNumber; + +ReportFileName = FileInfo.Funct(nxtscifunnumber).ReportFileName; +SCI2CAvailableCDat = FileInfo.FunctionList.SCI2CAvailableCDat; +USER2CAvailableCDat = FileInfo.FunctionList.USER2CAvailableCDat; +ConvertedDat = FileInfo.FunctionList.ConvertedDat; +ToBeConvertedDat = FileInfo.FunctionList.ToBeConvertedDat; +FunInfoDatDir = FileInfo.FunctionList.FunInfoDatDir; + +// #RNU_RES_B +PrintStringInfo(' ',ReportFileName,'file','y'); +PrintStringInfo('***Updating C Function List***',ReportFileName,'file','y'); +PrintStringInfo(' C Function Name: '+CFunName,ReportFileName,'file','y'); +// #RNU_RES_E +// --------------------------- +// --- End Initialization. --- +// --------------------------- + +// #RNU_RES_B +// -------------------------------------------------- +// --- Manage anticipated exit from the function. --- +// -------------------------------------------------- +//NUT: questo codice e' identico quasi a quello della CFunCall, si pu0 pensare di +//NUT: di fare un'unica funzione. +// #RNU_RES_E + +if (SharedInfo.SkipNextFun > 0) + // #RNU_RES_B + PrintStringInfo(' Current function will not be inserted in the Function List.',ReportFileName,'file','y'); + // #RNU_RES_E + return; +end + +// #RNU_RES_B +// Exit if the function is a precision specifier and the corresponding flag is 1. +// #RNU_RES_E +if ((sum(mtlb_strcmp(ASTFunName,SharedInfo.Annotations.DataPrec)) > 0) & ... + (SharedInfo.SkipNextPrec == 1)) + // #RNU_RES_B + PrintStringInfo(' Current function will not be inserted in the Function List.',ReportFileName,'file','y'); + // #RNU_RES_E + return; +end + +// #RNU_RES_B +// Exit if the function is OpEqual and the corresponding skip flag is enabled. +// #RNU_RES_E +if ((mtlb_strcmp(ASTFunName,'OpEqual')) & ... + (SharedInfo.SkipNextEqual == 1)) + // #RNU_RES_B + PrintStringInfo(' Current function will not be inserted in the Function List.',ReportFileName,'file','y'); + // #RNU_RES_E + return; +end + +// #RNU_RES_B +// --------------------------------------- +// --- If the function is not skipped. --- +// --------------------------------------- +// --- Check existence of the C function. --- +// #RNU_RES_E +flagexist = FL_ExistCFunction(CFunName,USER2CAvailableCDat,SCI2CAvailableCDat,ConvertedDat,ToBeConvertedDat,ReportFileName); + +// #RNU_RES_B +// --- Update C function list and dat files. --- +// #RNU_RES_E +if (flagexist == %F) + + // #RNU_RES_B + // --- Add C function to the "ToBeConverted" function list. --- + // #RNU_RES_E + load(ToBeConvertedDat,'ToBeConverted'); + + NToConvP1 = size(ToBeConverted,1)+1; + ToBeConverted(NToConvP1).SCIFunctionName = ASTFunName; + ToBeConverted(NToConvP1).CFunctionName = CFunName; + + save(ToBeConvertedDat, "ToBeConverted"); + SharedInfo.NFilesToTranslate = SharedInfo.NFilesToTranslate + 1; + + // #RNU_RES_B + // --- Generate C Function dat file. --- + PrintStringInfo(' Add C Function ""'+CFunName+'"" to: '+ToBeConvertedDat,ReportFileName,'file','y'); + // #RNU_RES_E +end + +endfunction diff --git a/macros/FunctionList/buildmacros.sce b/macros/FunctionList/buildmacros.sce new file mode 100644 index 00000000..60fd2843 --- /dev/null +++ b/macros/FunctionList/buildmacros.sce @@ -0,0 +1,15 @@ +// +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009-2009 - DIGITEO - 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 +// +// + +tbx_build_macros(TOOLBOX_NAME, get_absolute_file_path('buildmacros.sce')); + +clear tbx_build_macros; diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib new file mode 100644 index 00000000..9e2efca5 Binary files /dev/null and b/macros/FunctionList/lib differ diff --git a/macros/FunctionList/names b/macros/FunctionList/names new file mode 100644 index 00000000..60e9c04c --- /dev/null +++ b/macros/FunctionList/names @@ -0,0 +1,6 @@ +FL_ExistCFunction +FL_UpdateConverted +FL_ExtractFuncList +FL_InOutArgs2CFunNames +FL_GetFunctionClass +FL_UpdateToBeConv -- cgit From 56d929da6683ca38ab07870173dba5aadb451403 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Tue, 8 Dec 2015 11:43:14 +0530 Subject: Modified so that code for all three output formats can be generated --- macros/FunctionList/FL_ExistCFunction.bin | Bin 12304 -> 12304 bytes macros/FunctionList/FL_GetFunctionClass.bin | Bin 6832 -> 6832 bytes macros/FunctionList/FL_UpdateConverted.bin | Bin 5572 -> 5572 bytes macros/FunctionList/FL_UpdateToBeConv.bin | Bin 14628 -> 14628 bytes macros/FunctionList/lib | Bin 552 -> 764 bytes macros/FunctionList/names | 4 ++-- 6 files changed, 2 insertions(+), 2 deletions(-) (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/FL_ExistCFunction.bin b/macros/FunctionList/FL_ExistCFunction.bin index 1182a7f2..1c85aa21 100644 Binary files a/macros/FunctionList/FL_ExistCFunction.bin and b/macros/FunctionList/FL_ExistCFunction.bin differ diff --git a/macros/FunctionList/FL_GetFunctionClass.bin b/macros/FunctionList/FL_GetFunctionClass.bin index 5ad5b2f9..faa210e6 100644 Binary files a/macros/FunctionList/FL_GetFunctionClass.bin and b/macros/FunctionList/FL_GetFunctionClass.bin differ diff --git a/macros/FunctionList/FL_UpdateConverted.bin b/macros/FunctionList/FL_UpdateConverted.bin index 9bb513b2..73f2cf02 100644 Binary files a/macros/FunctionList/FL_UpdateConverted.bin and b/macros/FunctionList/FL_UpdateConverted.bin differ diff --git a/macros/FunctionList/FL_UpdateToBeConv.bin b/macros/FunctionList/FL_UpdateToBeConv.bin index 99a4a715..44b5803f 100644 Binary files a/macros/FunctionList/FL_UpdateToBeConv.bin and b/macros/FunctionList/FL_UpdateToBeConv.bin differ diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib index 9e2efca5..32c92be8 100644 Binary files a/macros/FunctionList/lib and b/macros/FunctionList/lib differ diff --git a/macros/FunctionList/names b/macros/FunctionList/names index 60e9c04c..c40e30ca 100644 --- a/macros/FunctionList/names +++ b/macros/FunctionList/names @@ -1,6 +1,6 @@ FL_ExistCFunction -FL_UpdateConverted FL_ExtractFuncList -FL_InOutArgs2CFunNames FL_GetFunctionClass +FL_InOutArgs2CFunNames +FL_UpdateConverted FL_UpdateToBeConv -- cgit From 329613eb48542f24bb9014a0a617b05199726e99 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Thu, 17 Dec 2015 14:48:36 +0530 Subject: Code generation for Arduino changed. DC motor added to Arduino. --- macros/FunctionList/FL_ExtractFuncList.sci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/FL_ExtractFuncList.sci b/macros/FunctionList/FL_ExtractFuncList.sci index 9e951d9c..cbc14655 100644 --- a/macros/FunctionList/FL_ExtractFuncList.sci +++ b/macros/FunctionList/FL_ExtractFuncList.sci @@ -34,7 +34,7 @@ SCI2CNInArgCheck(argn(2),5,5); tmppwd = pwd(); cd(FunctionDir); // funfiles = ls(); -funfiles = listfiles(); +funfiles = listfiles(); cd(tmppwd); NFunFiles = size(funfiles,1); -- cgit From ee5bf4d90f78673d1e4d5a9dd304ee53c503c085 Mon Sep 17 00:00:00 2001 From: imushir Date: Tue, 9 Feb 2016 16:38:27 +0530 Subject: Support for Servo motor for Arduino. Support for'diag' in c --- macros/FunctionList/lib | Bin 764 -> 760 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib index 32c92be8..74542a2a 100644 Binary files a/macros/FunctionList/lib and b/macros/FunctionList/lib differ -- cgit From 9e506f48291533cba7b4c555b0d2e98f234bfbe3 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Wed, 19 Apr 2017 14:28:34 +0530 Subject: Merged Ashish's work --- macros/FunctionList/lib | Bin 760 -> 628 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib index 74542a2a..006272fb 100644 Binary files a/macros/FunctionList/lib and b/macros/FunctionList/lib differ -- cgit From 1fd0dce8d72c4d5869ce5ff4025ac09af603bc0f Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Wed, 19 Apr 2017 14:57:49 +0530 Subject: Merged Shamik's work --- macros/FunctionList/lib | Bin 628 -> 724 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib index 006272fb..d97386e8 100644 Binary files a/macros/FunctionList/lib and b/macros/FunctionList/lib differ -- cgit From c7e9597db39140c1d982f796a8e1f03bb54e7905 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Mon, 24 Apr 2017 14:08:37 +0530 Subject: Fixed float.h issue. OpenCV with built libraries working for linux x64 --- macros/FunctionList/FL_ExistCFunction.bin | Bin 12304 -> 0 bytes macros/FunctionList/FL_ExtractFuncList.bin | Bin 7828 -> 0 bytes macros/FunctionList/FL_GetFunctionClass.bin | Bin 6832 -> 0 bytes macros/FunctionList/FL_InOutArgs2CFunNames.bin | Bin 6452 -> 0 bytes macros/FunctionList/FL_UpdateConverted.bin | Bin 5572 -> 0 bytes macros/FunctionList/FL_UpdateToBeConv.bin | Bin 14628 -> 0 bytes macros/FunctionList/lib | Bin 724 -> 0 bytes macros/FunctionList/names | 6 ------ 8 files changed, 6 deletions(-) delete mode 100644 macros/FunctionList/FL_ExistCFunction.bin delete mode 100644 macros/FunctionList/FL_ExtractFuncList.bin delete mode 100644 macros/FunctionList/FL_GetFunctionClass.bin delete mode 100644 macros/FunctionList/FL_InOutArgs2CFunNames.bin delete mode 100644 macros/FunctionList/FL_UpdateConverted.bin delete mode 100644 macros/FunctionList/FL_UpdateToBeConv.bin delete mode 100644 macros/FunctionList/lib delete mode 100644 macros/FunctionList/names (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/FL_ExistCFunction.bin b/macros/FunctionList/FL_ExistCFunction.bin deleted file mode 100644 index 1c85aa21..00000000 Binary files a/macros/FunctionList/FL_ExistCFunction.bin and /dev/null differ diff --git a/macros/FunctionList/FL_ExtractFuncList.bin b/macros/FunctionList/FL_ExtractFuncList.bin deleted file mode 100644 index ec74708d..00000000 Binary files a/macros/FunctionList/FL_ExtractFuncList.bin and /dev/null differ diff --git a/macros/FunctionList/FL_GetFunctionClass.bin b/macros/FunctionList/FL_GetFunctionClass.bin deleted file mode 100644 index faa210e6..00000000 Binary files a/macros/FunctionList/FL_GetFunctionClass.bin and /dev/null differ diff --git a/macros/FunctionList/FL_InOutArgs2CFunNames.bin b/macros/FunctionList/FL_InOutArgs2CFunNames.bin deleted file mode 100644 index 09d5eb5e..00000000 Binary files a/macros/FunctionList/FL_InOutArgs2CFunNames.bin and /dev/null differ diff --git a/macros/FunctionList/FL_UpdateConverted.bin b/macros/FunctionList/FL_UpdateConverted.bin deleted file mode 100644 index 73f2cf02..00000000 Binary files a/macros/FunctionList/FL_UpdateConverted.bin and /dev/null differ diff --git a/macros/FunctionList/FL_UpdateToBeConv.bin b/macros/FunctionList/FL_UpdateToBeConv.bin deleted file mode 100644 index 44b5803f..00000000 Binary files a/macros/FunctionList/FL_UpdateToBeConv.bin and /dev/null differ diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib deleted file mode 100644 index d97386e8..00000000 Binary files a/macros/FunctionList/lib and /dev/null differ diff --git a/macros/FunctionList/names b/macros/FunctionList/names deleted file mode 100644 index c40e30ca..00000000 --- a/macros/FunctionList/names +++ /dev/null @@ -1,6 +0,0 @@ -FL_ExistCFunction -FL_ExtractFuncList -FL_GetFunctionClass -FL_InOutArgs2CFunNames -FL_UpdateConverted -FL_UpdateToBeConv -- cgit From e36eac94dd517bb69d3e5782516ee58942451991 Mon Sep 17 00:00:00 2001 From: Siddhesh Wani Date: Thu, 4 May 2017 16:15:18 +0530 Subject: Basic functions and image processing working with MSVC on windows x64 --- macros/FunctionList/lib | Bin 0 -> 600 bytes macros/FunctionList/names | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 macros/FunctionList/lib create mode 100644 macros/FunctionList/names (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib new file mode 100644 index 00000000..fc8038c9 Binary files /dev/null and b/macros/FunctionList/lib differ diff --git a/macros/FunctionList/names b/macros/FunctionList/names new file mode 100644 index 00000000..c40e30ca --- /dev/null +++ b/macros/FunctionList/names @@ -0,0 +1,6 @@ +FL_ExistCFunction +FL_ExtractFuncList +FL_GetFunctionClass +FL_InOutArgs2CFunNames +FL_UpdateConverted +FL_UpdateToBeConv -- cgit From f0e074cc43f04f58aafe00742b9748a09f77894f Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Thu, 4 May 2017 20:07:20 +0530 Subject: Toolbox working with scilab 6.0 --- macros/FunctionList/lib | Bin 0 -> 764 bytes macros/FunctionList/names | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 macros/FunctionList/lib create mode 100644 macros/FunctionList/names (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib new file mode 100644 index 00000000..32c92be8 Binary files /dev/null and b/macros/FunctionList/lib differ diff --git a/macros/FunctionList/names b/macros/FunctionList/names new file mode 100644 index 00000000..c40e30ca --- /dev/null +++ b/macros/FunctionList/names @@ -0,0 +1,6 @@ +FL_ExistCFunction +FL_ExtractFuncList +FL_GetFunctionClass +FL_InOutArgs2CFunNames +FL_UpdateConverted +FL_UpdateToBeConv -- cgit From 369c257b9ae0320621b43ca75b38ff66cc13f37b Mon Sep 17 00:00:00 2001 From: yash1112 Date: Mon, 19 Jun 2017 05:40:46 +0530 Subject: 1.3 new scilab-arduino functions added2. all functions have been tested on hardware 3. 5 i2c library functions added 4. Now generates code for 27 Boards(arduino and lilypad). 5. New GUI --- macros/FunctionList/FL_ExistCFunction.bin | Bin 0 -> 12304 bytes macros/FunctionList/FL_ExtractFuncList.bin | Bin 0 -> 7828 bytes macros/FunctionList/FL_GetFunctionClass.bin | Bin 0 -> 6832 bytes macros/FunctionList/FL_InOutArgs2CFunNames.bin | Bin 0 -> 6452 bytes macros/FunctionList/FL_UpdateConverted.bin | Bin 0 -> 5572 bytes macros/FunctionList/FL_UpdateToBeConv.bin | Bin 0 -> 14628 bytes macros/FunctionList/lib | Bin 741 -> 624 bytes 7 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 macros/FunctionList/FL_ExistCFunction.bin create mode 100644 macros/FunctionList/FL_ExtractFuncList.bin create mode 100644 macros/FunctionList/FL_GetFunctionClass.bin create mode 100644 macros/FunctionList/FL_InOutArgs2CFunNames.bin create mode 100644 macros/FunctionList/FL_UpdateConverted.bin create mode 100644 macros/FunctionList/FL_UpdateToBeConv.bin (limited to 'macros/FunctionList') diff --git a/macros/FunctionList/FL_ExistCFunction.bin b/macros/FunctionList/FL_ExistCFunction.bin new file mode 100644 index 00000000..1c85aa21 Binary files /dev/null and b/macros/FunctionList/FL_ExistCFunction.bin differ diff --git a/macros/FunctionList/FL_ExtractFuncList.bin b/macros/FunctionList/FL_ExtractFuncList.bin new file mode 100644 index 00000000..ec74708d Binary files /dev/null and b/macros/FunctionList/FL_ExtractFuncList.bin differ diff --git a/macros/FunctionList/FL_GetFunctionClass.bin b/macros/FunctionList/FL_GetFunctionClass.bin new file mode 100644 index 00000000..faa210e6 Binary files /dev/null and b/macros/FunctionList/FL_GetFunctionClass.bin differ diff --git a/macros/FunctionList/FL_InOutArgs2CFunNames.bin b/macros/FunctionList/FL_InOutArgs2CFunNames.bin new file mode 100644 index 00000000..09d5eb5e Binary files /dev/null and b/macros/FunctionList/FL_InOutArgs2CFunNames.bin differ diff --git a/macros/FunctionList/FL_UpdateConverted.bin b/macros/FunctionList/FL_UpdateConverted.bin new file mode 100644 index 00000000..73f2cf02 Binary files /dev/null and b/macros/FunctionList/FL_UpdateConverted.bin differ diff --git a/macros/FunctionList/FL_UpdateToBeConv.bin b/macros/FunctionList/FL_UpdateToBeConv.bin new file mode 100644 index 00000000..44b5803f Binary files /dev/null and b/macros/FunctionList/FL_UpdateToBeConv.bin differ diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib index 2bbf0cbe..f5a84d5f 100644 Binary files a/macros/FunctionList/lib and b/macros/FunctionList/lib differ -- cgit