diff options
author | siddhu8990 | 2016-03-29 22:11:40 +0530 |
---|---|---|
committer | siddhu8990 | 2016-03-29 22:11:40 +0530 |
commit | d0dae962944e7fdb42bca7d0aa80055c44881b45 (patch) | |
tree | e315bbe940e601a177d4ff584976fb05ff05e08c /2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.sci | |
parent | 7198d73fe85d35ef63a88e3c5cc87dc9bbd24ccb (diff) | |
download | Scilab2C-d0dae962944e7fdb42bca7d0aa80055c44881b45.tar.gz Scilab2C-d0dae962944e7fdb42bca7d0aa80055c44881b45.tar.bz2 Scilab2C-d0dae962944e7fdb42bca7d0aa80055c44881b45.zip |
Function conversion using scilab2c call (not working)
Diffstat (limited to '2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.sci')
-rw-r--r-- | 2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.sci | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.sci b/2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.sci index 37e6d091..5db26236 100644 --- a/2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.sci +++ b/2.3-1/macros/FunctionAnnotation/FA_GetOutArgInfo.sci @@ -46,17 +46,18 @@ for cntin = 1:NInArg end
end
DefaultPrecision = SharedInfo.DefaultPrecision;
-
// ---------------------------
// --- End Initialization. ---
// ---------------------------
if (FunTypeAnnot(1) == '')
NOutArg = 0;
+
else
NOutArg = max(size(FunTypeAnnot));
end
flagfindlike = 0;
+
for counterin = 1:NInArg
if (InArg(counterin).FindLike == 1 | InArg(counterin).FindLike == -1)
// #RNU_RES_B
@@ -68,9 +69,8 @@ for counterin = 1:NInArg flagfindlike = -1;
end
end
-
for counterout = 1:NOutArg
-
+
if(FunTypeAnnot == 'FA_TP_USER')
UpdatedOutArg(counterout).Type = FA_TP_USER(FunPrecSpecifier,DefaultPrecision);
else
|