summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_HandleEndGenFun.sci
diff options
context:
space:
mode:
authorsiddhu89902017-06-21 15:46:02 +0530
committersiddhu89902017-06-21 15:46:02 +0530
commit7dd99346700740df9480b1f47221e24afc32371d (patch)
tree41b5094514f9a62d40483a1b6c0481c115220c04 /macros/ASTManagement/AST_HandleEndGenFun.sci
parentadbc46709966e50b3fed6ff061afff9e59d4b79c (diff)
parent061f07929cc984788154bc296c6cc440ef72a3c6 (diff)
downloadScilab2C_fossee_old-7dd99346700740df9480b1f47221e24afc32371d.tar.gz
Scilab2C_fossee_old-7dd99346700740df9480b1f47221e24afc32371d.tar.bz2
Scilab2C_fossee_old-7dd99346700740df9480b1f47221e24afc32371d.zip
Merged Ankit's work, signal processing and string functions
Diffstat (limited to 'macros/ASTManagement/AST_HandleEndGenFun.sci')
-rw-r--r--macros/ASTManagement/AST_HandleEndGenFun.sci8
1 files changed, 7 insertions, 1 deletions
diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci
index 57c0c5e..7f55130 100644
--- a/macros/ASTManagement/AST_HandleEndGenFun.sci
+++ b/macros/ASTManagement/AST_HandleEndGenFun.sci
@@ -131,6 +131,10 @@ NOutArg_mod = NOutArg
ASTFunName='modk';
end
+ if ASTFunName == '%sn'
+ ASTFunName='modsn';
+ end
+
if (ASTFunName == 'OpEqual')
FunTypeAnnot = '';
FunSizeAnnot = '';
@@ -446,6 +450,7 @@ NOutArg_mod = NOutArg
//#RNU_RES_E
//disp(OutArg,InArg,ASTFunName)
+
CFunName = C_GenerateFunName(ASTFunName,InArg,NInArg,OutArg,NOutArg_mod);
//#RNU_RES_B
@@ -472,7 +477,8 @@ NOutArg_mod = NOutArg
else
LibTypeInfo = 'USER2C';
end
-
+
+
//#RNU_RES_B
// ------------------------------------------------------------------------------------
// --- Check whether the function has been already called in the current .sci file. ---