diff options
Diffstat (limited to 'modules/spreadsheet/includes')
-rwxr-xr-x | modules/spreadsheet/includes/dynlib_spreadsheet.h | 28 | ||||
-rwxr-xr-x | modules/spreadsheet/includes/gw_spreadsheet.h | 31 |
2 files changed, 59 insertions, 0 deletions
diff --git a/modules/spreadsheet/includes/dynlib_spreadsheet.h b/modules/spreadsheet/includes/dynlib_spreadsheet.h new file mode 100755 index 000000000..0d5002c7a --- /dev/null +++ b/modules/spreadsheet/includes/dynlib_spreadsheet.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_SPREADSHEET_H__ +#define __DYNLIB_SPREADSHEET_H__ + +#ifdef _MSC_VER +#ifdef SPREADSHEET_EXPORTS +#define SPREADSHEET_IMPEXP __declspec(dllexport) +#else +#define SPREADSHEET_IMPEXP __declspec(dllimport) +#endif +#else +#define SPREADSHEET_IMPEXP +#endif + +#endif /* __DYNLIB_SPREADSHEET_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/spreadsheet/includes/gw_spreadsheet.h b/modules/spreadsheet/includes/gw_spreadsheet.h new file mode 100755 index 000000000..b7a98d397 --- /dev/null +++ b/modules/spreadsheet/includes/gw_spreadsheet.h @@ -0,0 +1,31 @@ + +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007-2008 - INRIA - Allan CORNET <allan.cornet@inria.fr> + * + * 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_SPREADSHEET_H__ +#define __GW_SPREADSHEET_H__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_spreadsheet.h" +/*--------------------------------------------------------------------------*/ +SPREADSHEET_IMPEXP int gw_spreadsheet(void); +/*--------------------------------------------------------------------------*/ +SPREADSHEET_IMPEXP int sci_xls_read(char *fname, unsigned long fname_len); +SPREADSHEET_IMPEXP int sci_xls_open(char *fname, unsigned long fname_len); +SPREADSHEET_IMPEXP int sci_csvDefault(char *fname, unsigned long fname_len); +SPREADSHEET_IMPEXP int sci_csvRead(char *fname, unsigned long fname_len); +SPREADSHEET_IMPEXP int sci_csvStringToDouble(char *fname, unsigned long fname_len); +SPREADSHEET_IMPEXP int sci_csvTextScan(char *fname, unsigned long fname_len); +SPREADSHEET_IMPEXP int sci_csvWrite(char *fname, unsigned long fname_len); + +/*--------------------------------------------------------------------------*/ +#endif /* __GW_SPREADSHEET_H__ */ +/*--------------------------------------------------------------------------*/ |