diff options
author | siddhu8990 | 2015-11-28 11:01:40 +0530 |
---|---|---|
committer | siddhu8990 | 2015-11-28 11:01:40 +0530 |
commit | 128638e88ce6d8414c9e1061faa96008be9bcda5 (patch) | |
tree | c38d4dbbed3ee4f3e71f263693d408e8bee519bc /2.3-1/macros/CCodeGeneration/C_Funcall.sci | |
parent | 3bcc8ce62560f36eaaab0e064b169b0118f354f3 (diff) | |
download | Scilab2C-128638e88ce6d8414c9e1061faa96008be9bcda5.tar.gz Scilab2C-128638e88ce6d8414c9e1061faa96008be9bcda5.tar.bz2 Scilab2C-128638e88ce6d8414c9e1061faa96008be9bcda5.zip |
Intermediate commit aith support added for AVR (GPIO,ADC). Does not support other targets.
Diffstat (limited to '2.3-1/macros/CCodeGeneration/C_Funcall.sci')
-rw-r--r-- | 2.3-1/macros/CCodeGeneration/C_Funcall.sci | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/2.3-1/macros/CCodeGeneration/C_Funcall.sci b/2.3-1/macros/CCodeGeneration/C_Funcall.sci index b130a622..166799e6 100644 --- a/2.3-1/macros/CCodeGeneration/C_Funcall.sci +++ b/2.3-1/macros/CCodeGeneration/C_Funcall.sci @@ -35,7 +35,7 @@ CDeclarationFileName = FileInfo.Funct(nxtscifunnumber).CDeclarationFileName; CInitVarsFileName = FileInfo.Funct(nxtscifunnumber).CInitVarsFileName; IndentLevel = SharedInfo.NIndent; CCall = ''; - +OutFormat = SharedInfo.OutFormat; // --- Extract Function Info. --- FunctionName = FunInfo.SCIFunctionName; CFunName = FunInfo.CFunctionName; @@ -371,7 +371,7 @@ else if (FlagCall == 0) // Add prototype to the header file - C_InitHeader(CCall+';',HeaderFileName,SharedInfo.Sci2CLibMainHeaderFName); + C_InitHeader(CCall+';',HeaderFileName,SharedInfo.Sci2CLibMainHeaderFName,OutFormat); // Add { at the beginning of the function. PrintStringInfo(' {',ReportFileName,'file','y'); |