diff options
Diffstat (limited to 'modules/matio/includes')
-rwxr-xr-x | modules/matio/includes/dynlib_matio.h | 28 | ||||
-rwxr-xr-x | modules/matio/includes/gw_matio.h | 29 |
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__ */ |