summaryrefslogtreecommitdiff
path: root/modules/matio/includes
diff options
context:
space:
mode:
authorShashank2017-05-29 12:40:26 +0530
committerShashank2017-05-29 12:40:26 +0530
commit0345245e860375a32c9a437c4a9d9cae807134e9 (patch)
treead51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/matio/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/matio/includes')
-rwxr-xr-xmodules/matio/includes/dynlib_matio.h28
-rwxr-xr-xmodules/matio/includes/gw_matio.h29
2 files changed, 57 insertions, 0 deletions
diff --git a/modules/matio/includes/dynlib_matio.h b/modules/matio/includes/dynlib_matio.h
new file mode 100755
index 000000000..0c0f74602
--- /dev/null
+++ b/modules/matio/includes/dynlib_matio.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_MATIO_H__
+#define __DYNLIB_MATIO_H__
+
+#ifdef _MSC_VER
+#ifdef MATIO_EXPORTS
+#define MATIO_IMPEXP __declspec(dllexport)
+#else
+#define MATIO_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define MATIO_IMPEXP
+#endif
+
+#endif /* __DYNLIB_MATIO_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/modules/matio/includes/gw_matio.h b/modules/matio/includes/gw_matio.h
new file mode 100755
index 000000000..1ce78983f
--- /dev/null
+++ b/modules/matio/includes/gw_matio.h
@@ -0,0 +1,29 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Vincent COUVERT
+ *
+ * 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
+ *
+ */
+
+/*-----------------------------------------------------------------------------------*/
+#include "dynlib_matio.h"
+/*-----------------------------------------------------------------------------------*/
+#ifndef __GW_MATIO_H__
+#define __GW_MATIO_H__
+/*-----------------------------------------------------------------------------------*/
+MATIO_IMPEXP int gw_matio(void);
+/*-----------------------------------------------------------------------------------*/
+/* interface for the previous function Table */
+/*-----------------------------------------------------------------------------------*/
+MATIO_IMPEXP int sci_matfile_open(char *fname, unsigned long fname_len);
+MATIO_IMPEXP int sci_matfile_close(char *fname, unsigned long fname_len);
+MATIO_IMPEXP int sci_matfile_listvar(char *fname, unsigned long fname_len);
+MATIO_IMPEXP int sci_matfile_varreadnext(char *fname, unsigned long fname_len);
+MATIO_IMPEXP int sci_matfile_varwrite(char *fname, unsigned long fname_len);
+/*-----------------------------------------------------------------------------------*/
+#endif /* __GW_MATIO_H__ */