summaryrefslogtreecommitdiff
path: root/modules/scinotes/includes
diff options
context:
space:
mode:
authorShashank2017-05-29 12:40:26 +0530
committerShashank2017-05-29 12:40:26 +0530
commit0345245e860375a32c9a437c4a9d9cae807134e9 (patch)
treead51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/scinotes/includes
downloadscilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip
CMSCOPE changed
Diffstat (limited to 'modules/scinotes/includes')
-rwxr-xr-xmodules/scinotes/includes/callscinotes.h29
-rwxr-xr-xmodules/scinotes/includes/dynlib_scinotes.h28
-rwxr-xr-xmodules/scinotes/includes/gw_scinotes.h23
3 files changed, 80 insertions, 0 deletions
diff --git a/modules/scinotes/includes/callscinotes.h b/modules/scinotes/includes/callscinotes.h
new file mode 100755
index 000000000..c58680fc4
--- /dev/null
+++ b/modules/scinotes/includes/callscinotes.h
@@ -0,0 +1,29 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2009 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution. The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+#ifndef __CALLSCINOTES_H__
+#define __CALLSCINOTES_H__
+/*--------------------------------------------------------------------------*/
+#include <wchar.h>
+#include "dynlib_scinotes.h"
+/*--------------------------------------------------------------------------*/
+/**
+* call SciNotes from C (Wide Char as input filesname)
+* used by Windows for localized files name
+* @param[in] _wcfilenames wide char encoding (filenames to open)
+* @param[in] size of _wcfilenames
+* @return 0
+*/
+SCINOTES_IMPEXP int callSciNotesW(wchar_t **_wcfilenames, int _nbfiles);
+SCINOTES_IMPEXP int callSciNotesWWithLineNumberAndFunction(wchar_t **_wcfilenames, double* pdblLineNumber, char *functionName, int _nbfiles);
+SCINOTES_IMPEXP int callSciNotesWWithOption(wchar_t **_wcfilenames, wchar_t** option, int _nboptions, int _nbfiles);
+/*--------------------------------------------------------------------------*/
+#endif /* __CALLSCINOTES_H__ */
diff --git a/modules/scinotes/includes/dynlib_scinotes.h b/modules/scinotes/includes/dynlib_scinotes.h
new file mode 100755
index 000000000..b0ca9676f
--- /dev/null
+++ b/modules/scinotes/includes/dynlib_scinotes.h
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution. The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#ifndef __DYNLIB_SCINOTES_H__
+#define __DYNLIB_SCINOTES_H__
+
+#ifdef _MSC_VER
+#ifdef SCINOTES_EXPORTS
+#define SCINOTES_IMPEXP __declspec(dllexport)
+#else
+#define SCINOTES_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define SCINOTES_IMPEXP
+#endif
+
+#endif /* __DYNLIB_SCINOTES_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/scinotes/includes/gw_scinotes.h b/modules/scinotes/includes/gw_scinotes.h
new file mode 100755
index 000000000..d49c3305c
--- /dev/null
+++ b/modules/scinotes/includes/gw_scinotes.h
@@ -0,0 +1,23 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2009 - DIGITEO - Allan CORNET
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution. The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*/
+
+#ifndef __GW_SCINOTES__
+#define __GW_SCINOTES__
+/*--------------------------------------------------------------------------*/
+#include "dynlib_scinotes.h"
+/*--------------------------------------------------------------------------*/
+SCINOTES_IMPEXP int gw_scinotes(void);
+SCINOTES_IMPEXP int sci_scinotes(char* fname, unsigned long l);
+SCINOTES_IMPEXP int sci_closeSciNotesFromScilab(char *fname, unsigned long fname_len);
+/*--------------------------------------------------------------------------*/
+#endif /* __GW_SCINOTES__ */
+/*--------------------------------------------------------------------------*/