diff options
Diffstat (limited to 'macros/ASTManagement/AST_HandleEndGenFun.sci')
-rw-r--r-- | macros/ASTManagement/AST_HandleEndGenFun.sci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci index 696846e2..4dfaec9a 100644 --- a/macros/ASTManagement/AST_HandleEndGenFun.sci +++ b/macros/ASTManagement/AST_HandleEndGenFun.sci @@ -193,6 +193,12 @@ global STACKDEDUG FileInfo.GlobalVarFileName); end else + //Change the scope of function name from variable to string, + //as it is passed as string to C function. Also enter this function + //in conversion list also. + if(ASTFunName == 'ode') + InArg(4).Scope = 'String'; + end [InArg,SharedInfo] = ST_GetInArgInfo(InArg,NInArg,FileInfo,SharedInfo); end |