diff options
author | Harpreet | 2015-12-31 16:03:57 +0530 |
---|---|---|
committer | Harpreet | 2015-12-31 16:03:57 +0530 |
commit | d5356061fbd3a9b3052dee25bd9c82c375c42e22 (patch) | |
tree | 72a37d5161eb0f4b895513c46c68e031d1200520 /sci_gateway/cpp/template.cpp | |
parent | eb9ca1191c94059cd7adcf69805906c809fe9712 (diff) | |
download | FOSSEE-Optimization-toolbox-d5356061fbd3a9b3052dee25bd9c82c375c42e22.tar.gz FOSSEE-Optimization-toolbox-d5356061fbd3a9b3052dee25bd9c82c375c42e22.tar.bz2 FOSSEE-Optimization-toolbox-d5356061fbd3a9b3052dee25bd9c82c375c42e22.zip |
Macros example updated
Diffstat (limited to 'sci_gateway/cpp/template.cpp')
-rw-r--r-- | sci_gateway/cpp/template.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/sci_gateway/cpp/template.cpp b/sci_gateway/cpp/template.cpp deleted file mode 100644 index a835fc3..0000000 --- a/sci_gateway/cpp/template.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Symphony Toolbox - * <Description> - * <Author(s)> - */ -#include "symphony.h" -#include "sci_iofunc.hpp" - -extern sym_environment* global_sym_env; //defined in globals.cpp - -extern "C" { -#include "api_scilab.h" -#include "Scierror.h" -#include "sciprint.h" -#include "BOOL.h" -#include <localization.h> - -int sci_template(char *fname){ - - //error management variable - SciErr sciErr; - int iRet; - - //data declarations - - //ensure that environment is active - if(global_sym_env==NULL){ - sciprint("Error: Symphony environment not initialized. Please run 'sym_open()' first.\n"); - return 1; - } - - //code to check arguments and get them - CheckInputArgument(pvApiCtx, , ) ; - CheckOutputArgument(pvApiCtx, , ) ; - - //code to process input - - //code to give output - - return 0; -} - -} |