summaryrefslogtreecommitdiff
path: root/macros/ASTManagement
diff options
context:
space:
mode:
authorAnkit Raj2017-06-21 11:00:07 +0530
committerAnkit Raj2017-06-21 11:00:07 +0530
commitefd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59 (patch)
tree65444449ab64db280008c59b08204ee775db26df /macros/ASTManagement
parentb33afdb2311fbe8aad4c5c614c6098585fe2d279 (diff)
downloadscilab2c-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.gz
scilab2c-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.bz2
scilab2c-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.zip
Functions added - string related and signal processing
Diffstat (limited to 'macros/ASTManagement')
-rw-r--r--macros/ASTManagement/AST_HandleEndGenFun.sci13
-rw-r--r--macros/ASTManagement/libbin4861 -> 1832 bytes
2 files changed, 12 insertions, 1 deletions
diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci
index 5ff7181f..88b9634b 100644
--- a/macros/ASTManagement/AST_HandleEndGenFun.sci
+++ b/macros/ASTManagement/AST_HandleEndGenFun.sci
@@ -73,6 +73,7 @@ global STACKDEDUG
// #RNU_RES_E
[ASTFunName,InArg,NInArg,OutArg,NOutArg] = AST_GetFuncallPrm(FileInfo,SharedInfo,ASTFunType);
NOutArg_mod = NOutArg
+
if(mtlb_strcmp(part(ASTFunName,1:2),'CV') == %T)
SharedInfo.OpenCVUsed = %T;
end
@@ -119,6 +120,13 @@ NOutArg_mod = NOutArg
// --- Read the function annotations. ---
// --------------------------------------
// #RNU_RES_E
+ if ASTFunName == '%k'
+ ASTFunName='modk';
+ end
+
+ if ASTFunName == '%sn'
+ ASTFunName='modsn';
+ end
if (ASTFunName == 'OpEqual')
FunTypeAnnot = '';
@@ -424,6 +432,8 @@ NOutArg_mod = NOutArg
// --------------------------------------------
//#RNU_RES_E
//disp(OutArg,InArg,ASTFunName)
+
+
CFunName = C_GenerateFunName(ASTFunName,InArg,NInArg,OutArg,NOutArg_mod);
//#RNU_RES_B
@@ -449,7 +459,8 @@ NOutArg_mod = NOutArg
else
LibTypeInfo = 'USER2C';
end
-
+
+
//#RNU_RES_B
// ------------------------------------------------------------------------------------
// --- Check whether the function has been already called in the current .sci file. ---
diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib
index 67ea09be..908366b7 100644
--- a/macros/ASTManagement/lib
+++ b/macros/ASTManagement/lib
Binary files differ