summaryrefslogtreecommitdiff
path: root/macros/CCodeGeneration/C_Funcall.sci
diff options
context:
space:
mode:
authorimushir2016-02-09 17:00:34 +0530
committerimushir2016-02-09 17:00:34 +0530
commitfad04e78ac69db4ef74c1bd45154fc430c18cccc (patch)
tree29bb0c8b76e6882adbaaae67bd0e845e3280f73e /macros/CCodeGeneration/C_Funcall.sci
parentee5bf4d90f78673d1e4d5a9dd304ee53c503c085 (diff)
parentbbdc94252ee563f0b01d4949868a583e43a2e6a8 (diff)
downloadScilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.gz
Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.bz2
Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.zip
merged RPi & diag
Diffstat (limited to 'macros/CCodeGeneration/C_Funcall.sci')
-rw-r--r--macros/CCodeGeneration/C_Funcall.sci4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/CCodeGeneration/C_Funcall.sci b/macros/CCodeGeneration/C_Funcall.sci
index 166799e..3669e54 100644
--- a/macros/CCodeGeneration/C_Funcall.sci
+++ b/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;
+Target = SharedInfo.Target;
// --- 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,OutFormat);
+ C_InitHeader(CCall+';',HeaderFileName,SharedInfo.Sci2CLibMainHeaderFName,Target);
// Add { at the beginning of the function.
PrintStringInfo(' {',ReportFileName,'file','y');